1. View file size, memory size, CPU information, hard disk space
command to display all file sizes for the current directory: LS-LHT
Memory space, CPU information, hard disk space: Htop, Top (Htop detailed reference: http://blog.csdn.net/skh2015java/article/details/53173896)
2, check the current running program situation, the remaining memory, kill program
Check the current operation of the program: Top, Htop
View memory Usage: free, free-m
Kill program: Kill, Kill-9 PID (forced kill process) Reference: http://www.cnblogs.com/wangcp-2014/p/5146343.html
3. sed command, grep command, awk command
4. Linux Vim split screen
Linux opens multiple files at the same time, vim file1 file2
Display on a screen: new File1 or:new file2
Multiple file switches Ctrl + W
or with Vi-o file1 file2 file3 .... Open multiple files at the same time using the split screen window. (uppercase) or with Vi-o file1 file2 file3 .... Open multiple files at the same time using the split screen window. lowercase
You can use CTRL + two times to press W or CTRL + W and then press the up and down keys to toggle between the upper and lower windows
Ctrl+w s split-screen display of current document content
CTRL+W Q Close the screen
Ctrl+w o display only current split-screen content
Ctrl+w J k up and down select split screen
5. Liux Process
Linux to input files into text, redirect command 1> result redirect 2> error redirect
CTRL + Z hangs a running process
Jobs view the pending process
BG process number Background running process
FG process number foreground running process
Kill process number kills process
Linux Basic Bash command