Judgment questions
Init 4 The function of command is to enter linux Security mode of operating system .( × )( Case )
init3 The function of the command is to enter full multi-user mode .( ×)( Space )
\ representative linux The root directory of the operating system .( × )
Multiple choice questions
In the default bash shell Which of the following line prompts represents a normal user (D)
A.# B.% C.@ D.$
The following pairs shutdown -k The function of the command is described correctly (C)
A. Shut down B. restart C. send message D. Hang up
The command that can play the function of online help is (B)
A.help B.man C.aid D.assist
Multiple choice questions with indefinite items
Which of the following commands will work linux The effect of operating system shutdown (BD)
A.Poweroff B.shutdown -h C.shutdown -r D.halt
Which of the following commands will work linux The effect of operating system restart (C)
A.Poweroff B.shutdown -h C.shutdown -r D.halt
Completion
Linux Catalog adoption _ Multistage tree _ structure .
[root@localhost home] The components of the prompt at the beginning of the line represent _ The user name of the currently logged in user _, Address domain name , Currently logged in host name __ and __ Current directory _.
Question and answer
Give me a brief introduction su and sudo How to use and how to use it .
su
Used to change the identity of a user
Administrator switch to normal user : No password is required
Switch from normal user to administrator user : Password required
sudo
Get the permission of super user directly without entering password ( General information , According to the system settings )
Technology