basic operation of virtual machines in 1.Linux
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M01/8F/3C/wKioL1jYl5nCRh0PAAC6887jP2I157.png "title=" Screenshot from 2017-03-27 12-00-13.png "width=" 787 "height=" 245 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" WIDTH:787PX; height:245px; "alt=" Wkiol1jyl5ncrh0paac6887jp2i157.png "/>
2. Login for the virtual machine user
650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M02/8F/3C/wKioL1jYmK3yvXU3AAAihUfXwXc289.png "title=" Screenshot from 2017-03-27 10-47-32.png "alt=" Wkiol1jymk3yvxu3aaaihufxwxc289.png "/>
When you follow the steps in 1. To open the virtual machine, the above interface appears, click Student User is entered into the virtual machine with the privilege as a normal user. Of course, if you feel that the average user's permissions are not high enough, you can click on the not listed below, the computer will prompt you to enter the user name, enter the root super User name, and then enter the password into the super-user
3. System language replacement for virtual machines
650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M00/8F/3C/wKioL1jYmdCAwe1SAACKwzujgK8119.png "title=" Screenshot from 2017-03-27 10-50-05.png "alt=" Wkiol1jymdcawe1saackwzujgk8119.png "/>
In the upper right corner of the screen, click Applications-->system tools-->settings-->region&language. Click Language to select the language you want to restart the system is OK.
4. Understanding the line prompt
650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M02/8F/3F/wKiom1jYnNaCm_AvAAAd0cIVl68627.png "title=" Screenshot from 2017-03-27 10-52-48.png "alt=" Wkiom1jynnacm_avaaad0civl68627.png "/>
Root: The user who opened the shell
@: Delimiter
Foundation0: Host Name
Desktop: Working directory Name
$: Identity prompt, #表示超级用户, $ represents a normal user
5. User's switch
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M00/8F/3D/wKioL1jYrzSyX7sAAAB97bKFQnY773.png "title=" Screenshot from 2017-03-27 10-59-22.png "alt=" Wkiol1jyrzsyx7saaab97bkfqny773.png "/>
Superuser can switch directly to the normal user, the user will need to enter the super user's password when switching to Superuser.
6. View of time and revocation of orders
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M01/8F/3D/wKioL1jYr-ahJ8uGAAB0mLEjwkM219.png "title=" Screenshot from 2017-03-27 11-06-28.png "alt=" Wkiol1jyr-ahj8ugaab0mlejwkm219.png "/>
Enter date to view the current system time, cancel the execution of our command by pressing CTRL + C when undoing the currently entered command
7. Monitoring and modification of system time
650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M01/8F/40/wKiom1jYsWDCUqKGAADRF95-HrQ372.png "title=" Screenshot from 2017-03-27 11-55-40.png "alt=" Wkiom1jyswdcuqkgaadrf95-hrq372.png "/>
650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M00/8F/3E/wKioL1jYsyXRXtCqAABfaEGXtGQ407.png "title=" Screenshot from 2017-03-27 13-26-12.png "alt=" Wkiol1jysyxrxtcqaabfaegxtgq407.png "/>
Input Watch-n 1 date to monitor changes in system time. Time to modify the system: Date/month every day and always divided into years/. Enter date-d +/-nday to add or subtract a fixed amount of time to the system
8. User's password modification
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M01/8F/3E/wKioL1jYtAvRA3uSAACyva_xo6w281.png "title=" Screenshot from 2017-03-27 13-34-58.png "alt=" Wkiol1jytavra3usaacyva_xo6w281.png "/>
There is no limit to the password modification of the superuser, the following issues are encountered when the user changes the password
650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M00/8F/40/wKiom1jYtGfxOXp8AAAMNdGj80c273.png "title=" Screenshot from 2017-03-27 13-35-52.png "alt=" Wkiom1jytgfxoxp8aaamndgj80c273.png "/>
The new password and original password cannot be the same 650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M02/8F/3E/wKioL1jYtKizE5ZIAAAQeD2Y7Pc688.png "Title=" screenshot from 2017-03-27 13-36-00.png "alt=" Wkiol1jytkize5ziaaaqed2y7pc688.png "/>
Passwords must be unordered numbers plus letters
9. Management of user's password by super user
650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M01/8F/40/wKiom1jYtVGzl8u7AAJdi22ilJA861.png "title=" Screenshot from 2017-03-27 13-47-13.png "alt=" Wkiom1jytvgzl8u7aajdi22ilja861.png "/>
Superuser can restrict the password of all users, such as lock the user, set the minimum and maximum validity of the password modification, how long to remind the user before the password expires, how long the password will continue to use after expiration, and clear the user's password.
10. File creation and type viewing
650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M01/8F/40/wKiom1jYtkyDo88ZAABLZerYRd8910.png "title=" Screenshot from 2017-03-27 13-51-42.png "alt=" Wkiom1jytkydo88zaablzeryrd8910.png "/>
The command to create the file is touch/filename/. The command to create the directory is mkdir/directory name/.
11. Viewing the contents of a file
650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M00/8F/40/wKiom1jYt5-AGInHAAAa_AegWfs597.png "title=" Screenshot from 2017-03-27 13-54-38.png "alt=" Wkiom1jyt5-aginhaaaa_aegwfs597.png "/>
Cat file #查看file文件底下的详细内容
650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M02/8F/3E/wKioL1jYt-DTsd3gAAAaKYliW80782.png "title=" Screenshot from 2017-03-27 13-55-16.png "alt=" Wkiol1jyt-dtsd3gaaaakyliw80782.png "/>
Head-n 5 File #查看file文件前5行内容 # #具体行数可以自行修改 Remove-N/Line/After head file default to view 10 rows of files
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M00/8F/3E/wKioL1jYuB7Sz5NJAAAXiNb9Jk4430.png "title=" Screenshot from 2017-03-27 13-55-32.png "alt=" Wkiol1jyub7sz5njaaaxinb9jk4430.png "/>
Tail-n 4 #查看file文件后4行内容 # #具体行数可以自行修改 Remove-N/lines/tail file defaults to view 10 rows of files
12. Statistical File capacity Information
650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M00/8F/3E/wKioL1jYv5nw0d4SAAB1HlCv4hc359.png "title=" Screenshot from 2017-03-27 15-14-55.png "alt=" Wkiol1jyv5nw0d4saab1hlcv4hc359.png "/>
Wc-l DSA #统计dsa文件内信息的行数
Wc-l DSA #统计dsa文件内的字数
Wc-l DSA #统计dsa文件内的字节数
Wc-l DSA #统计dsa文件内的字符数
13. Query and purge of historical commands, clear screen
650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M02/8F/40/wKiom1jYwHrg2JA_AAC6nn8roTw695.png "title=" Screenshot from 2017-03-27 15-16-42.png "alt=" Wkiom1jywhrg2ja_aac6nn8rotw695.png "/>
History # #查询历史命令
DISTORY-C # #清除历史命令
Ctrl+l # #清屏
shortcut keys in Linux
Around #逐个字符移动
CTRL + Around #逐个字移动
+a cursor moves to the beginning of the line
+e cursor moves to end of line
+u the cursor location to the beginning of the row
+k the cursor location to the end of the line
+r+ keyword to bring up the most recent command with a keyword
+c undo an already entered command
+d shutting down the current environment
+l emptying the screen
+shift+c replication
+shift+v paste
+shift+t re-opens a table in an existing shell
+shift+n re-open a new shell
+shift+pageup|pagedown Switching a table
+alt+l Lock Screen
+alt+ on | Down switch interface
+alt+f1|f7 into the graphical interface
+alt+f (2-6) Enter the Virtual Console
This article is from the "12753482" blog, please be sure to keep this source http://12763482.blog.51cto.com/12753482/1910773
A new way to learn Linux (i)