Command: LS (list)
Permissions: All users (then all users, if not shown thereafter)
Description: Show file directory
Syntax: LS option [-al] [file or directory]
A: Show all files, including hidden files
L: Show detailed information
Command: Touch
Syntax: touch [filename]
Description: Create an empty file
Command: mkdir
Syntax: mkdir [-p option means recursive create folder] [folder name]
Description: Create a folder
Command: CP (copy)
Syntax: CP [source file] [target file]
cp-r [Source directory] [target directory]
Description: Copying a file or directory
Command: RM (remove)
Syntax: rm-f [file]
Rm-r [Catalogue]
RM-RF [directory, including content under directory]
Description: Delete a file or directory
Command: Cat
Syntax: Cat [file name]
Description: View the contents of the file (as too much, the content may not be complete)
Command: More
Syntax: more [file name]
Description: View the contents of a file to fully display
Usage: Use space to page, enter to display the next line, Q exit (or CTRL + C)
Command: Head
Syntax: head-number [file name]
Description: View the number of lines before a file
Command: Tail
Syntax: tail-number [file name]
Description: View the number of lines after a file
MV 1 Ability to modify file names: MV [source file name] [new file name]
2 Move File location: MV [source file name] [new file location + new file name]
Command: chmod
Syntax: chmod [{ugo}{+-=}{rwx}] [file or directory]
chmod [mode=421] [file directory]
Description: Change permissions for a file or directory
Linux common commands (i)