installation and related configuration of the first unit of Linux
Graphical Installation Linux Operating System (1 hours)
2) Minimal installation of Linux operating system ( minutes)
Second Unit UNIX and Linux operating system overview
1) open Linux operating system, require root User login GNOME GUI, language support choice for Chinese
2) Use the shortcut key to switch to virtual terminal 2, log in as a normal user, and view the system prompt
Ctrl+alt+f2
3) Use the command to exit the logged on user on virtual terminal 2
Exit
4) Use the shortcut key to switch to virtual terminal 5, log on as an administrator, and view the system prompt
Ctrl+alt+f5
5) Use the command to exit the logged on user on virtual terminal 5
Exit
6) cut back to the graphical interface, right click on the desktop to open the terminal, enter the command to shut down the system
Ctrl+alt+f1
Unit three Linux commands and getting help
1) required to log on to the system as the root user, right-click on the desktop to open the terminal to view the current login Linux system used by the user name
Whoami
2) see which users are working on the system
W.H.O.
3) Modification current time is 2018 year 8 months 11:28
Deta ' 082611282018 '
4) View year Month calendar
Cal 1 2015
5) Use two methods to view The instructions for using the LS command
LS--help
Mans LS
6) Clear the screen
Ctrl+l
7) Create a new Tom user with the "useradd Tom" command and set the password "123" for the Tom user
Usderadd Tom
PASSWD Tom
123
123
8) switch the current user to Tom
Su-tom
9) View the user name used by the current login Linux System
Whoami
Tom
Browsing, management and maintenance of unit fourth catalog files (i)
1) open Linux operating system and require root User login to GNOME GUI
2) Right-click on the desktop to open the terminal and use "Useradd Lucy" command to create Lucy user
3) Use the mouse to click on the method to enter the root directory
4. tap into the root user's home directory
5. tap into The home directory of the Lucy user
/home/lucy
6. tap into the directory used to store the frequently used executable files.
/bin
7. tap into the directory where the executable file for the system is stored
/sbin
8) Click to enter the device file directory
/dev
9) Click to enter the profile directory
/etc
Browsing, management and maintenance of unit fifth catalog files (ii)
1) turn on the Linux operating system and require the root user to log in to the GNOME GUI, right click on the desktop to open the terminal
2) Use the command to switch to the root user's home directory
CD ~
3) determine the working directory where the current user is located
Pwd
4) Create a directory WG
MKDIR WG
5) Create a new file in the WG directory using the absolute path method a.txt
Touch/root/wg/a.txt
6) Enter the WG directory
CD WG
7) Create a new wg01 directory and b.txt file in the current directory using a relative path method
Mkdir/root/wg/wg01
Touch/root/wg/wg01/b.txt
8) List The contents of the current directory in long list format
Ls-l
9) Delete empty directory wg01
Rm/root/wg/wg01/b.txt
Rm-r/root/wg/wg01/
Enter the working directory of the previous level
Cd..
Force Delete non-empty directory WG
Rm-rf/root/wg
copy /etc/passwd to the current directory, named file1
CP/ETC/PASSWD/ Current directory /file1l
View the contents of the file1 file in a read-only manner
Tail-f file1
See the first 3 lines of the File1 file
Head-3 file1
View The following 2 lines of the File1 file
Tail-2 file1
pages View the contents of the file1 file as a percentage
More Fil1
Pages view the contents of the file1 file by paging up and down
Less file
Linux Jobs 1