2. files, directory management 2.1 What file directories are available 2.1.1 /bin 2.1.2 /boot 2.1.3 /dev 2.1.4 /etc 2.1.5 /home 2.1.6 /lib /lib64 2.1.7 /meida 2.1.8 /mnt 2.1.9 /opt 2.1.10 /proc 2.1.11 /run 2.1.12 /sbin 2.1.13 /srv 2.1.14 /sys 2.1.15 /tmp 2.1.16 /usr 2.1.17 /var 2.2 Common Commands 2.2.1 tree //Displays the directory structure in a tree-shaped structure; yum install -y tree // Install the tree package; tree -- hep //View the usage of the tree, or specify the depth of man tree; tree -l 2 //with the 2; 2.2.2 ls /home/username // List User name; ls /etc/ssh/ sshd_config //List configuration Files 2.2.3 useradd username //Add user name   &Nbsp; 2.2.4 ldd /bin/ls //See which libraries a file depends on 2.2.5 ls -l /proc/28/ //View process pid=28 Process directory 2.3 ls command details 2.3.1 ls -l list files, directories 2.3.2 ls -i view inode numbers for files, directories 2.3.2.1 ls -i /root 2.3.2.2 ls -i . 2.3.2.3 ls -i .ssh/. 2.3.3 ls -a Show all hidden files, directories 2.3.4 ls -t Sort by Time 2.3.4 ls -h Display Unit 2.3.5 ls -d only lists the directory itself 2.3.6 ll is an alias for Ls -l 2.3.7 which ll see the path to ll file 2.3.8 ls -la 2.3.8.1 listed on the left first bit d represents the directory directory 2.3.8.2 List Left first-indicates file 2.3.8.3 listed on the left first digit C means the string device 2.3.8.4 lists the left first bit l indicates a soft link file, equivalent to a shortcut 2.3.8.5 listed on the left first bit B represents a block device, such as a disc, disk, etc. 2.3.8.6 listed on the left first bit s represents the socket file for inter-process communication 2.3.9 cat Viewing text documents
"Linux Series" "Basic Edition" chapter II file, directory management