Linux: List Files
List Files
ls
- List files in current directory
ls -al
- List all files in current dir, including dot files, and also show detail, such as File Permission , owner, and size.
ls -al *word*
- List files in current dir whose name contains the word word
ls -al */*word*
- List files in subdir whose name contains the word word
ls -al | grep word
- list files whose name match regular expression word
Linux, Files and Dirs
- Linux: Navigate Directory
- Linux: List Files
- Linux: Walk Dir: find, xargs
- Linux: View Directory as Tree
- Linux: Copy File
- Linux: Move / Rename, File / Dir
- Linux: Create New File
- Linux: Create New Dir
- Linux: Delete File/Dir
- Linux: Show Directory Size: du
- Linux: Show Difference Between Directories
- Linux: rsync Tutorial