Linux Files and Directories
Linux Files and Directories
Tushar B. Kute,
http://tusharkute.com
Linux files
• If you need to examine the entire file byte by byte, you can do so
with the od (octal dump) command.
• The od command performs a dump of a file. By default, it prints
every byte in its octal representation. However, you can also
specify a character, decimal, or hexadecimal representation.
• The od command is helpful when you need to detect any special
character in your file or if you want to display a binary file.
The file structure
• You can give the same file several names by using the ln command
on the same file many times.
• To set up a hard link, you use the ln command with no -s option and
two arguments: the name of the original file and the new, added
filename.
• The ls operation lists both filenames, but only one physical file will
exist
• $ ln original-file-name added-file-name
Thank you
This presentation is created using LibreOffice Impress 4.2.8.2, can be used freely as per GNU General Public License