1, LS/: This command is to view the root directory of Linux, which have all the files of Linux. --liunx Concept: All documents
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/82/1B/wKioL1dL5vmgp1UbAAAuHRKMTs0252.jpg-wh_500x0-wm_3 -wmp_4-s_2408072558.jpg "title=" qq20160530150342.jpg "width=" height= "0" border= "0" hspace= "0" vspace= "WIDTH:500PX;HEIGHT:53PX;" alt= "Wkiol1dl5vmgp1ubaaauhrkmts0252.jpg-wh_50"/>
These are the "ls/" out of the directory below will be introduced
/dev: This is all the hardware device files. ① block device: means random access, does not matter successively, such as hard disk. ② character devices: Linear access, such as keyboards.
/lost+found: This directory is usually the computer suddenly power down or suddenly crash, the computer back to temporarily save the unsaved files under this directory.
/bin: executable file, all commands of the user.
/sbin: executables, administration commands
Both/bin and/sbin are commands before the computer starts.
/sys: pseudo-system files, mapping of hardware device-related properties.
/boot: launches the related file.
/etc: the configuration file storage location.
/opt: where the third-party software or program is stored.
/tmp: the location of the temporary file store, each user can store files, create files, but can only delete files created by this user,
/ Home directory. Each user has their own home directory. Generally, the name of the user name as the home directory.
/lib:library files and kernel files. ① library files are divided into static libraries and dynamic libraries, static libraries: The program and library files are together, and when the migration is gone, the program depends on the library file or can run. ② Dynamic Library: Shared libraries, many programs common one library file, libraries and programs are not together, when the program is migrated, the program cannot run alone.
/misc: Miscellaneous
2. View commands
Linux is divided into internal commands and external commands.
LS, CD, pwd, mkdir, rmdir, tree
Touch, stat, file, RM, CP, MV, Nano
Date, clock, Hwclock, Cal
Cat, TAC, more, less, head, tail
Tail-f: Check the tail of the file, you can monitor the file dynamics;
You can use man touch to view the options that are unclear for the above commands.
If there are errors in reading can be described in the comments below, verification must be modified, thank you.
This article is from the Computer knowledge blog, so be sure to keep this source http://huagongxiaodi.blog.51cto.com/10605602/1784475
linux--Common Command Usage Introduction