echo Display Echo$path shows the current path
The parameters after LS:
-A: All files are listed together with the hidden file (files that begin with.) (common)
-A: All files, together with hidden files, but not included. No.. These two directories
-D: Lists only the directory itself, not the profile data in the directory (common)
-F: Lists the results directly without running the sort (LS presets are sorted by file name!) )
-F: According to files, directories and other information, to give additional data structure, such as: *: On behalf of the executable file;/: representative Directory; =: represents the socket file; |: Represents the FIFO file;
-H: List the file capacity in a more readable way (e.g. GB, KB, etc.);
-I: List inode numbers, the meaning of the Inode the next chapter will be introduced;
-L: Long data serial out, including the file attributes and permissions and so on data; (common)
-N: List uid not GID instead of user and group name (UID not GID will be mentioned in account management!) )
-r: Reverse output of the sorting results, for example: the original file name from small to large, the reverse is from large to small;
-R: Together with subdirectory contents, all files in the directory will be displayed;
-S: Sort by file size, not by file name;
-T: Sort by time, not by file name.
--color=never: Do not give color display according to the file characteristics;
--color=always: Display Color
--color=auto: Let the system decide whether to give the color according to the setting
--full-time: Output in full time mode (including year, month, day, hour, minute)
--time={atime,ctime}: Output access time ring Change permission properties
Cat starts displaying the contents of the archive from the first line
? The TAC is displayed on the last line, and you can see that the TAC is written backwards with cat!
? NL display, the output line number!
? More page-by-page display of archive content
? Less is more similar, but better than more, he can page forward!
? Head just a few lines
? Tail just look at the end of a few lines
? OD reads the contents of the file in two import!
We can make the output of the data for the simplest capture, that is, remove the front (head) does not take out the back (tail) text function. However, it is important to note that head tail are all 杢 running data capture in "line" units.
Non-document with OD query information;
Linux File and directory management