Linux commands too many, here to temporarily tidy up a part, here we for the sake of practicality, did not list the specific parameters.
Part I: File operations
ll view directories and files in long format
LS to view directories and files in a short format
Df-h Viewing disk size information
mkdir Dir_name Creating a folder
RM-RF file_name Deleting a directory
rm-f file_name Deleting files
MV file path to move files to the path directory
CP file path copies files to the path directory
Cat File View File contents
Vi/vim File View Files
PWD View the file system path currently in place
Uniq a.txt > B.txt redo the A.txt and write the results to B.txt
Sort a.txt > B.txt to a.txt Sort results write to B.txt
Uniq a.txt|sort > B.txt to a.txt First to reorder and then write the results to B.txt
Wc-l a.txt Statistics a.txt Row count
Find Path-name file in the path directory, you can use * as a wildcard character
Find Path-name file_name | Xargs GREP-NH content finds the specified contents in the specified file
Part II: Process information
Ps-aux Viewing process information
PS | grep Java Lookup Process
kill-9 PID Follow process number strong kill process
Killall-9 Java kills all Java processes
Free View Memory
Top View CPU Information
Part III: RPM Package Management
Rpm-qa List all RPM software
Rpm-qa | grep name to see if a software named name is installed
Part IV: Restarting the shutdown
Reboot restart
Shutdown-h now shutdown
Part V: Other parts
passwd Change Password
& Background startup process
Service Network restart Restart networking service
Sinsing organizing Linux Parts common commands