Several simple linux system commands (ps, kill, ifconfig, ping, reboot, halt)

linux system in a few simple commands, other commands come into contact with the supplement.

1.ps command: (process status), provides for a one-time process view. And when that moment executives ps command process information

  Format: ps [parameters]

  -e This parameter shows all the programs

  -f display field information uid, ppid, c, stime of

For example: Enter the command ps -ef

 

2.kill command: delete or kill the execution of a program or process.

  Format: kill [parameters] [Program]

  -l <information coding> If no additional information is encoded, the -l will list all of the information name

  kill -9 indicates the operating procedures of forced termination

  Format: kill -9 pid pid refers pid, as listed in FIG ps -ef come in.

3.ifconfig command displays network devices, Windows use ipconfig, and linux use ifconfig.

Connectivity 4.ping command test network.

5.reboot: linux centos restart command

6.halt: linux centos shutdown command

Guess you like

Origin www.cnblogs.com/jasonboren/p/10973245.html