Directory Management:
LS cd pwd mkdir rmdir tree
File Management:
Touch Stat file RM cp mv Nano
Date Time:
Date Clock Hwclock cal
To view text:
Cat tac more less head tail
Cat: Connect and display (can connect to display multiple files)
Split screen display:
More,less
MORE: Features similar to the CAT,CAT command is the entire contents of the file from top to bottom display on the screen, more will be a page by page display user-friendly page reading, and the most basic instruction is to press the blank key (space) on the next page, press the B key will go back to a page, And there is the ability to search for strings.
Less: Tools are also tools for displaying files or other output, and are powerful tools for Linux to view the contents of a file. Less uses more flexibility than more. In more, we have no way to turn front, can only look back, but if use less, you can use [Pageup][pagedown] and other key functions to turn to look at the file, more easily used to view the contents of a file! In addition, in less you can have more search function, not only to search down, but also to search upward.
Head: View Top N rows
Tail: View after n rows
-F: Look at the end of the file, do not exit, wait to display new content appended to this file (other processes have written new content to this file, will be displayed immediately)
Text Processing:
Cut (text cut), join (text link), sed (powerful, hard), awk (harder, one command is a programming language)
Cut
-D: Specifies the field delimiter, which is the default space
-F: Specify the fields to display
-F 1, 3: Display 1 3 fields
-F 1-3: Show 1-3 fields
Linux file Management class command detailed