1. graphical interface to convert character Terminal:Ctrl++alt+fn (fn is F1-f0), input After root , write the password (invisible), enter the command, etc., are the same.
650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M00/A6/93/wKioL1nTh4zhGnVMAAFiPPBcDh8263.png-wh_500x0-wm_ 3-wmp_4-s_1454235139.png "title=" 1.png "alt=" Wkiol1nth4zhgnvmaafippbcdh8263.png-wh_50 "/>
2.alt+f7, switch back to the graphical interface (if your F7 is a function key, then use alt+f7 is not good to use, you need to Fn+f7)
3.Ls View current system files
4.ls-l This is only the Hang option, no hang parameters (normal Linux command format is command + option + parameter), this format refers to the current directory! ls-l/etc, this is to view the current system configuration file. In other words, to view the current directory, you can add no parameters, if you look at the specific, you have to add the path and name.
5.Ctrl + C is canceling this command, directly on the next line, not executing the
6.--help man info help command (ex:man-ls)
650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M01/A6/94/wKioL1nTiHbR-6BOAACOfIuHOkc674.png-wh_500x0-wm_ 3-wmp_4-s_551252063.png "title=" 2017-10-03_205238.png "alt=" Wkiol1ntihbr-6boaacofiuhokc674.png-wh_50 "/>
7. temporarily modify the host name:hastname +' name to change '
8.Ifconfig is the IPthat is seen on the virtual machine ,ipconfig is in Windows View IP on
9.ls-a: View all files that contain hidden (if the file name is preceded by a bit . then this file is hidden, for example . HKSD This file is hidden)
Ten.ll=ls-l
du-h View the space consumption of all files, if you specify which file to view, followed by the file name, for example:du-h desktop/
Create a AA file on the desktop :Touch Desktop/aa.txt
in this picture . representative: Current directory
650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M01/07/E2/wKiom1nTiUGBTuXQAAAL8_AlcEg537.png "title=" 2017-10-03_205536.png "alt=" Wkiom1ntiugbtuxqaaal8_alceg537.png "/>
Create a directory AA:mkdir aa, if you create a continuous 5 Directories:mkdir a{ 1..5}, is two . Oh, two points are loops, if mkdir a{1.5} , this is a a{1.5} the directory name. If you create a name for a discontinuous number, it is
Mkdi a{6,7,9}, separated by commas oh.
A .Mkdir-pCreate nested directories, such as those you just createdAA, I'm going toAAcreated belowBBand theccThese two directories are:mkdir-p aa/bb/cc. Cd AA,ls, there isBBIt . Cd BB,ls, there iscc, huh?
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M01/A6/94/wKioL1nTiT7RR0vRAACTuX5GeCQ030.png "title=" 2017-10-03_205646.png "alt=" Wkiol1ntit7rr0vraactux5gecq030.png "/>
Touch is creating a file
.Ln Soft, hard link:ln-s/root/desktop/aa.txt/root/desktop/ . At this time, the desktop has a aa.txt document, but this is a soft connection, I just delete, the document can not open. Then create a hard link:
ln/root/desktop/aa.txt/root/desktop/, that is, no- s, is a hard link. A hard link points to a path where the file is stored on disk, and a soft connection is a path to the actual text you are storing. A hard link cannot be created for a directory, but a soft connection can be, because a soft connection path can be a directory.
CP copy: CP/WHERE/ o (* ̄︶ ̄*) o I'm a lazy man .
package:tar the image below is the format (aa.tar.gz is the name of its own), followed by ". AA" ( . point is the current directory . AA is the current directory. AA )
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M02/07/E2/wKiom1nTijqjlVSVAAA9WbsieTs680.png "title=" 2017-10-03_205947.png "alt=" Wkiom1ntijqjlvsvaaa9wbsiets680.png "/>
decompression:tar-zxvf. aa.tar.gz-c/ASD
The format of Ln and tar is different, so it's OK to look at the picture .
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M01/A6/94/wKioL1nTijHD7fokAAAh7p9F74o449.png "title=" 2017-10-03_210047.png "alt=" Wkiol1ntijhd7fokaaah7p9f74o449.png "/>
cursor Movement, see figure
650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M00/07/E2/wKiom1nTiqKiDq3uAAFr8YAF3p0065.png "title=" 2017-10-03_210134.png "alt=" Wkiom1ntiqkidq3uaafr8yaf3p0065.png "/>
the cursor copy, delete, paste, etc., look at the picture
650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M02/A6/94/wKioL1nTinzRvCgZAAFNeHmagkk968.png "title=" 2017-10-03_210205.png "alt=" Wkiol1ntinzrvcgzaafnehmagkk968.png "/>
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M01/07/E2/wKiom1nTiv3iJnoKAAFt4tmkIO0504.png "title=" 2017-10-03_210246.png "alt=" Wkiom1ntiv3ijnokaaft4tmkio0504.png "/>
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M00/A6/94/wKioL1nTitSy4sx1AADMCW86jks502.png "title=" 2017-10-03_210336.png "alt=" Wkiol1ntitsy4sx1aadmcw86jks502.png "/>
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M02/07/E2/wKiom1nTi0aBG3aIAADLA7Y2M-o656.png "title=" 2017-10-03_210418.png "alt=" Wkiom1nti0abg3aiaadla7y2m-o656.png "/>
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M00/07/E2/wKiom1nTi2Szm3P_AAEPttTEo0E031.png "title=" 2017-10-03_210448.png "alt=" Wkiom1nti2szm3p_aaepttteo0e031.png "/>
Open a new file and edit it (input in last-line mode)
Basic Linux Commands