Commands for the file management class:
View: Cat,tac,head,tail,less,more
Time Stamp Management: Touch
Copy: CP
Mobile: MV
View Meta Data properties: Stat (atime access time, mtime content change time, CTime metadata change time)
Text Editor: Nano,vi
Touch: Change the file's atime and mtime; If the file does not exist, an empty file is created by default
-A change Atime
-M Change Mtime
-C do not create an empty file
-T Yymmddhhmmss. SS 200101010101.01 January 1, 2001 1:1 1 seconds
File View Class command:
Cat: Connect and display text file Content-e display line terminator,-N Add line number
TAC: Displaying file contents in reverse order
Shift+pageup/pagedown Flip Screen
Split screen display:
More/less
To view the contents of a file's head and tail:
Head
Tail-n #: Number of rows specified, #代指具体行数
TAIL-F: Monitor the tail of the constantly changing log file without closing the file, CTRL + C exit
Linux Common commands