Linux File Management
Filesystem Hierarchy
- Directory usage in Linux is highly standardized
- The standard is maintained by the Linux Foundation
- The starting point of the File System is the root directory, other devices are integrated into the Filesystem via mounts.
man hier # or man file-hierarchy # to get a proper description of what # each directory does
Essential Commands
Command | Description | Useful Options |
---|---|---|
ls |
List files | -1 , -lrt , -dl |
mkdir |
Make a directory | |
cp |
Copy a file | -r |
mv |
Rename/Move files | |
rmdir |
Remove an empty directory | |
rm |
Remove files or directories | |
which |
||
find |