1. System directory
LS is the abbreviation of the list, LS LS/As long as the list of system directories and file commands and its function;
[[email protected] ~]# LS/
bin Dev Home lib64 mnt proc run SRV tmp var boot etc Lib media opt root sbin sys USr root contains these ;
[[email protected] ~]# Ls/root/.ssh/authorized_keys //in root directory
[[email protected] ~]# ls/home/ //In the ordinary user
[email protected] ~]# Yun install-??? //Run this command is used to install the missing command
2.ls command
[[email protected] ~]# ls-i Anaconda-ks.cfg //How many users use Anaconda
33574979 anaconda-ks.cfg
[Email protected] ~]# Ls-la
Total Dosage 28
Dr-xr-x---. 3 root root 147 July 22:03 . //. represents the current directory
Dr-xr-xr-x. Root root 224 July 23:34 . //.. Previous directory
[[email protected] ~]# ls-l// /Do not add-D to list all directories
Total dosage 20
lrwxrwxrwx. 1 root root 7 July 04:49 Bin--Usr/bin
Dr-xr-xr-x. 4 root root 4096 July 04:57 boot
.....................
.....................
[[email protected] ~]# LS-DL/ //plus-D only lists the directory itself
Dr-xr-xr-x. $ root root 224 July 15 23:34
-L Details-i-a all-t time-h-d directory C B s L soft connect
3. File types
Ls-l/dev/
lrwxrwxrwx. 1 root root 15 July 19:31 stderr -- /PROC/SELF/FD/2 //Blue callout Soft Connect
lrwxrwxrwx. 1 root root 15 July 19:31 stdin - /proc/self/fd/0
lrwxrwxrwx. 1 root root 15 July 19:31 stdout - /proc/self/fd/1
crw-rw-rw-. 1 root TTY 5, 0 July 19:31 TTY
Crw--w----. 1 root TTY 4, 0 July 19:31 tty0 //Yellow callout is a string
[Email protected] ~]# ls-l/dev/log
SRW-rw-rw-. 1 root root 0 July 19:31 /dev/log//Communication Services TCP/IP
Be familiar with the meaning and meaning of these commands
This article from "I and Linux pass" blog, declined reprint!
Little White Linux Sixth day