December 8, 2019 op dragon linux

1.system v init run levels and the role of

init run level role

0 Shutdown

1 single-user mode

2 Multi-user text interface

More than three user text interface

4 Multi-User text interface

Graphical user interface over five

6 Restart

emergency emergency shell

2. Using the root user login linux, what terminal login prompt is?

#

3. Establish an account name is Tom, the password is the root user.

Under the root user, open a terminal and enter userodcl Tom establish user, change the user password input paddwd Tom, simple password OK twice to take effect.

4. In the second virtual terminal number Tom login user process.

Ctrl + alt + f2 to enter the number of the second virtual terminal, enter the user name Tom, enter the root password

5. Exit command,

exit

6. What command format includes, what specific meaning?

Command: linux operating system tells what to do.

Option: Description ways to run the command. Options section is "-" character began.

Parameter: Description of what the command influence yes.

Command function 7.whoam

Lists users who download linux system currently used

Command function 8.who

Lists which users are currently working on the system.

The output 9.who command.

Displays all current users logged on, and the current date and time.

10. linux system currently logged in, who enter the command, get any results.

root: 0 2019-12-6 05: 10C: 0 (time varies)

root       pts10         2019-12-06  05:17(:0)

Tom       ttyz           2019-12-06    05:11

Command function 11.date

The system displays the current date and time.

12. The time is set at 11:40 on December 6, 2019 order.

date      120611402019

13. How time synchronization hardware.

hwclock-s

Function 14.cal command.

Display a calendar month.

15. The display command in August 2008 calendar

cal   8     2008

16. Clear Screen command

clear

17. Clear Screen shortcut

Ctrl+1

Command function 18.su

Switching from the current user to another user of another specified.

Command function 19man

Get an explanation of the use of linux command

20. The command su command to view the instructions for use.

man su

Guess you like

Origin www.cnblogs.com/ganjiaqi/p/12005599.html