Files and folders
10 lessons in the Linux course.
Full Linux course · Search this topic · Operating systems
- Listing Files and FoldersUse ls to inspect directory contents, hidden files, permissions, and sizes.
- Changing DirectoryNavigate the Linux filesystem with cd, pwd, absolute paths, and relative paths.
- Creating a FolderCreate one or more directories with mkdir, including nested directory trees.
- Creating a Text FileCreate empty and text-filled files with touch, printf, and shell redirection.
- Copying FilesCopy files and directory trees with cp while controlling overwrites and metadata.
- Moving and Renaming FilesUse mv to rename files, relocate items, and avoid accidental replacement.
- Deleting Files and FoldersRemove files and directories with rm and rmdir while avoiding permanent data loss.
- Finding Files and DirectoriesSearch directory trees by name, type, size, and modification time with find.
- Disk and Folder UsageUse df and du to understand free filesystem space and directory sizes.
- Symbolic and Hard LinksUnderstand and create Linux symbolic links and hard links with ln.