Job handwriting

1, unprepared chapter, please write linux system in a common directory name and role.

/ Root system administrator root directory of the host

/ Home normal user home directory

/ Boot file system kernel boot

/ Dev device file device

/ Etc configuration files

/ Bin binary (binary), all users can perform commands

/ Sbin system binary executable command administrator

/ Usr unix software resourse, application

/ Var variability (variable) log files

 

2. Please describe briefly shortcuts common linux system.

Built tab filled filename, command; twice, it outputs all names beginning with

ctrl + u quickly delete all the characters before the cursor

All characters after the ctrl + k to quickly remove the cursor

Backslash \ forced newline

ctrl + y paste just delete the character (cut) of

ctrl + l clear screen

ctrl + c to cancel edit the current command line, end the current execution command

ctrl + d log out from the closed shell prompt, like exit

ctrl + a cursor to the beginning of the line

ctrl + e to move the cursor end of the line

ctrl + z into background

ctrl + r Find command in history

 

3. Please briefly in your own words what is the absolute and relative paths?

Absolute path: the "/" as the path to the starting directory path

Relative path: not the "/" directory path as the initial path

 

4. Please describe briefly linux file system in various colors and represent mean?

Blue: Folder

Green: the executable file (binary command procedures, program execution shell, python scripts, etc.)

Light Blue: hyperlink

Purple: Pictures (communication socket files, etc.)

Yellow: device-dependent

Red: package file (rmp)

Black (white): Common Files

 

5. Please describe briefly the following file attributes -f -d -l -p -c -b -s is what type of file?

-f -d ordinary file directory symbolic links -l -p pipe file -c character device file -b block device file -s socket file

Guess you like

Origin www.cnblogs.com/qingqing1/p/11236712.html