System Management
Ps-ef Viewing processes
NETSTAT-LPN | grep port to see if the port number is occupied
:%s/src/dst/g//VI Global replace% global s replace g that line multiple all replace
///vi search function
YY NP//vi copy n rows, if you copy a row do not need n
LS-LT//By time from near to far ls-ltr//by time from far to near
Find-name filename
How PS Displays the process list title
Gdb-p PID//Mounts to a running process for debugging
Date [email protected] "time (NULL)"//convert timestamp to standard format
Date-d "1970-01-01 UTC 1279592730 Seconds"
Date-d "2015-04-24 17:58:30" +%s//Convert standard format to timestamp
Date Date +%s//Display the current time in timestamp and standard format, respectively
Killall-2 Signal-9 strong kill
Ipcrm-m IPCS | Head??
Ntpdate 210.72.145.44//Calibration system time, the IP is the National Timing Center
SCP [Email Protected]:/usr/bin/telnet/usr/bin
SSH-based login to replicate data links between two hosts
ll/proc/26051
Grep-r ' Strings ' *//recursive lookup of strings in a file
Tar ZCVF DST RES//Compression tar ZXVF RES//Decompression
Ls-l |grep "^-" |wc-l view the number of files in the current directory
Reference URL:
1.http://www.jb51.net/linux/
2.http://man.linuxde.net/
3.http://www.cnblogs.com/laov/p/3541414.html
Linux Common commands