Files
The following commands work with files:
bzip2, bunzip2 | Very high quality file compression and decompression. |
chgrp | Change the group of files and directories. |
chmod | Change the permissions (mode) of files and directories. |
chown | Change the owner of files and directories. |
cksum | Print a file checksum, POSIX standard algorithm. |
comm | Print or omit lines that are unique or common between two sorted files. |
cp | Copy files and directories. |
df | Show free disk space. |
diff | Compare files, showing differences. |
du | Show disk block usage of files and directories. |
file | Guess the type of data in a file by examining the first part of it. |
find | Descend one or more directory hierarchies finding filesystem objects (files, directories, special files) that match specified criteria. |
gzip, gunzip | High-quality file compression and decompression. |
head | Print the first n lines of one or more files. |
locate | Find a file somewhere on the system based on its name. The program uses a database of files that is usually rebuilt automatically, nightly. |
ls | List files. Options control the information shown. |
md5sum | Print a file checksum using the Message Digest 5 (MD5) algorithm. |
mkdir | Make directories. |
mktemp | Create a unique temporary file and print its name. Not universally available. |
od | Octal dump; print file contents in octal, hexadecimal, or as character data. |
patch | Update the contents of a given file to a newer version by reading the output of diff. |
pwd | Print the current ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access