Pei Yi Zhou Yang -2019-12-8-Linux operating test

Linux

1  

init run levels effect

0

 Shutdown

1

Single-user mode

2

 Multi-user text interface

4

 Multi-user text interface

5

 Multi-user text interface

6

 Restart

emergecy

 Emergency shell

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

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

Under the root user, open a terminal and enter usevaddtom established users, change user password passwd tom, simple password OK twice to take effect

4. Log tom user process in the Second virtual terminal?

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: Tell Lnux What operating system do.

Option: Description ways to run the command, the option is part of "character" it began.

Parameters: What is the impact description of the command

Command function 7.whoami

 Username Lnux lists currently used by the system

8. who function commands

 Lists which users are currently working on the system

The output of the command 9.who

 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-06 05: / 0 (: 0) (time varying)

   root        pts/0   2019-12-06 05:17 (:0)

   tom         tty2      2019-12-06 05:11

Function II. Date command

 The current date and time display system

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

 date 120611402019

13. How time synchronization hardware

 hwlock-s

Command function 14.cal

 Display a calendar month

15. The display command in August 2008 calendar

 cal 8 2002

16. Clear Screen command

 clear

17. Clear Screen shortcut

 ctrl+l

Command function 18.su

 Another specify a different user from the user to switch to the current

19. man command function

 For instructions to use a Linux command

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

 man su

Guess you like

Origin www.cnblogs.com/peiyiyang/p/12006885.html