1. Regular Expressions:
GREP-E [A-z]\{10\} students
2. Sort files:
Sort [Options][filename-list]
Note: Separate fields with spaces or TAB characters
3. Find Files:
the Find command uses a recursive approach to search for files and directories
The Whereis command search system contains a description of the command or file or command we specify, and the directory and path where it resides
The which command searches for files that meet the requirements according to the path listed in the environment variable $PATH
4. Search for file contents:
grep [options] pattern [filename-list]
5. Command logging:
The commands entered by the terminal are saved in the history record. The shell environment variable histsize represents the maximum number of command entries saved in the History list,Histfile represents the history file, and defaults to ~/.bash_history. When logged in, the system Initializes a list of history commands from the history file and, when exiting, overwrites or appends the contents of the list to the history file.
To read the most recently used command:
History [Options][filename]
You can also use a specific event specifier (with! To perform the commands in the History list.
6. compressing files, extracting files and packaging files:
The gzip command is used to compress files, and thegzip-d command is used to extract files
The tar command is used to package multiple files into a backup file or to remove files from the backup file.
7.RPM Package Management:
RPM maintains an installed package and their file database, which can be installed, removed, installed, queried, verified, and upgraded with a short command. rpm Package
RPM-IVH apache-2.2.4
File Management Tools