File and directory management commands
The following commands are essential for the management of files and directories:
Create or uncompress an archive with the bzip2 algorithm.
file2, or copy
Create or extract a binary archive, containing either files or a recursive set of files and directories.
Copy and convert files. The dd command can also copy data from raw devices, bypassing the filesystem layer.
Determine the type of
fileby performing a number of tests.
[directory] [options] [pattern]
directorylooking for objects that match
Uncompress an archive created with
Create a compressed archive containing files and directories that match
List the contents of a directory, or list only files that match
Create one or more
Move or rename files and directories.
Delete one or more
filesfrom the filesystem. When used recursively (with the -r option), rm also removes directories.
directories, which must be empty.
Create or extract a Tape Archive, containing either files or a recursive set of files and directories.
Change the access and/or modification times of
filesby default to the present time.