1, mkdir-p recursive create directory (-p parameter for recursive creation);
2, touch create file;
3. Cat View
5, VI Editor
6. Echo > (direct overlay) or << (append later) line append
Cat appends multiple lines of content
7. Cp-ap Copy Directory
8, MV Mobile
9. grep pipe (exclude)
10, head-2 file name display the first few lines
11, sed (important. Linux Three Musketeers)
12. Awk (important. Linux musketeers, need to be summarized separately)
13. Alias aliases
14. Seq Generate command (seq 100>ett.txt like ett.txt file append 1--100 number)
15. Head and tail opposite
16. Sed
17. redirect
18. Echo Command append content to file
19. Find (delete 7 days ago file)
20. Ifup + network card: Start Network card command
21. Setup (SET command)
22. Uname-r (view Linux kernel version)
23. diff Vimdiff (Linux comparison tool)
24. Optimization
Create a user name and password
Yum installation source changed to domestic
Modify the default port to prevent hacker intrusion
RPM to see if the installation
25. SELinux Closed
26, NTSYSV or Setup to set up the interface, cancel the boot service or chkconfig--list |grep 3:on
27. Visudo (The root user performs the assigned permissions)
Sudo-l Query Permissions
28, which can command the location (such as query which Useradd)
29. Echo $PATH command The road to be put here
30.
31. Modify the default user and port
32. Modify the system character set
33. Synchronization system Time
34, build their own time server (Crontab-l to perform timing synchronization time)
35. Add File Descriptor
36.
37, adjust the kernel parameter file (need to know sysctl.conf parameter meaning)
Linux basic commands--Learning Records