How to find hard links to a file
How to find hard links to a file in Linux?
To find out all hard links to file1:
$ find /home -xdev -samefile file1
Read more: http://linuxcommando.blogspot.com/2008/09/how-to-find-and-delete-all-hard-links.html
How to find hard links to a file in Linux?
To find out all hard links to file1:
$ find /home -xdev -samefile file1
Read more: http://linuxcommando.blogspot.com/2008/09/how-to-find-and-delete-all-hard-links.html
How to query installed files from a package and query which package one installed file is in will be introduced. Query installed files from a package $ rpm -ql package_name Query which package a installed file is in $ rpm -qf /full/path/to/installed/file Read more: How to find which package can be installed for a file,…
I am using Linux Ming 17 Qiana. How to install MATE on Linux Mint 17? In Linux Mint, the package that installs MATE is ‘mint-meta-mate’: $ sudo aptitude install mint-meta-mate Read more: How to install ffmpeg on Linux Mint 17 Qiana? How to install GNOME 3 in Ubuntu MATE 18.04? How to install the MATE…
How to print a binary file in hexadecimal format of all content? Use xxd: xxd file.txt or xxd -p file.txt Read more: Printing Integers in Hexadecimal Format in Python How to sort a file by hexadecimal numbers on Linux using sort command? How to read the whole file content into a string in Go? How…
How to mount Ext4 partitions from Linux in Windows in read-only mode? Read-only is required to ensure safety. Mounting is required so that traditional programs can use the partition without any changes. Ext2Fsd is a great tool for this. Ext2Fsd is a file system driver which allows accessing (both reading and writing) ext2, ext3 or…
This tutorial introduces how to exclude certain repositories in yum. Excluding certain repositories is needed usually. One example may be when you have several repositories that have the same package and you only want the one from a certain repository. For my situation, I choose to exclude the google-chrome and other repositories from Google when…
How to use HP Printer connected with USB on Fedora Linux 19. Install these packages and it may ask you to download and install other plugins. Without these packages, my printer does work. # yum install hplip hplip-gui hpijs May also need to run: # hp-plugin to install plugins for the HP printer. This plays…