ls command:-list directory contents
Command Description: List Directory contents
Common Command Options
-L: Use a list of detailed formats.
-A: Lists all files and directories (used to display hidden files that begin with.).
-A: Displays all files and directories but does not include. and. (. = Current directory ... Represents a parent directory).
-H: Do unit conversions (convert bytes into readable b-->kb)
-D: Display the directory's own properties
-I: Displays the miniature node number of the file (preached throughout, all files are mounted on a tree with root tree nodes, each file has a miniature node number)
-R: Show files in reverse order
-R: Recursive display (display directory under directory of ... File
Example: LS/
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M00/9E/4B/wKiom1mNj4azrU0PAAAp7_0CL_Y304.jpg "title=" Qq20170811190508.jpg "alt=" Wkiom1mnj4azru0paaap7_0cl_y304.jpg "/>
/: Indicates root directory
cd command:-change diretory
Command Description: Change the current directory
Example: CD/
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M02/9E/4B/wKiom1mNoGeS3PhYAAAjl5Auk6A566.jpg "title=" cd Command Example "alt=" Wkiom1mnoges3phyaaajl5auk6a566.jpg "/>
command to switch the current directory from ~ to/directory
PWD command: Print name of current directory.
Command Description: Prints the full path of the current directory
Example:
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M00/9E/3A/wKioL1mNoe6jqsoKAAAsTDqZwMM832.jpg "title=" Pwd.jpg "alt=" Wkiol1mnoe6jqsokaaastdqzwmm832.jpg "/>
mkdir command: Make directories
Command description: Create an empty directory (by default only the last point on the path is the path we want to create)
-P: Recursively create a directory to the last point
-V: View (when the command executes) details
-m< Directory properties > or--mode< Directory properties > set directory permissions at the same time when the directory is established.
Example:
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M00/9E/3A/wKioL1mNpJ3RM0dlAACpH8ojpQw004.jpg "title=" mkdir Command Example "alt=" Wkiol1mnpj3rm0dlaacph8ojpqw004.jpg "/>
Linux Primary shipping Koriyuki Directory Management Command (LS,CD,PWD,MKDIR)