There are a lot of common commands in Linux, so let's introduce some simple view commands to you today:
The first is the LS command, he simply looks at the directory does not have the ability to view the file, the opposite Cat command can be fully displayed:
9-1 is shown
650) this.width=650; "title=" 9-1.jpg "src=" http://s3.51cto.com/wyfs02/M01/72/A3/wKiom1XpiX_geI_RAAIhMFX3N_ Y222.jpg "alt=" Wkiom1xpix_gei_raaihmfx3n_y222.jpg "/>
What do we do when we look at the file and want to see the size of the file? Don't worry, Linux has a command, which is to view the command options-LH,
9-2 is shown below:
650) this.width=650; "title=" 9-4.jpg "src=" http://s3.51cto.com/wyfs02/M02/72/9F/wKioL1Xpk7_ X1-cgaaffb3na6ru194.jpg "alt=" Wkiol1xpk7_x1-cgaaffb3na6ru194.jpg "/>
To view the original state information of a file can be achieved with the STAT command:
9-3 is shown below:
650) this.width=650; "title=" 9-3.jpg "src=" http://s3.51cto.com/wyfs02/M02/72/A3/wKiom1XpjlzCzY3xAAE_ Y7-id6o218.jpg "alt=" Wkiom1xpjlzczy3xaae_y7-id6o218.jpg "/>
If you want to see the type of file, we can do it using the file command:
9-4 is shown below:
650) this.width=650; "title=" 9-5.jpg "src=" http://s3.51cto.com/wyfs02/M02/72/A3/ Wkiom1xpke6j7goeaaei3zmpk0a866.jpg "alt=" Wkiom1xpke6j7goeaaei3zmpk0a866.jpg "/>
When you are viewing a document, to switch back and forth between the current and previous paths, use the #cd – , convenient and quick , 9-5:
650) this.width=650; "title=" 9-2.jpg "src=" http://s3.51cto.com/wyfs02/M00/72/9F/ Wkiol1xplmljby77aadnj4rjb78032.jpg "alt=" Wkiol1xplmljby77aadnj4rjb78032.jpg "/>
Linux Common View File command