1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-06-17 02:42:20 +00:00

Update bash.sh

This commit is contained in:
Amaury Souza 2019-10-11 22:12:09 -03:00 committed by GitHub
parent 926b0cb279
commit a552f052d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -359,6 +359,8 @@ fg %?string # brings job whose command contains string
kill -l # returns a list of all signals on the system, by name and number kill -l # returns a list of all signals on the system, by name and number
kill PID # terminates process with specified PID kill PID # terminates process with specified PID
kill -s SIGKILL 4500 # sends a signal to force or terminate the process
kill -15 913 # Ending PID 913 process with signal 15 (TERM)
ps # prints a line of information about the current running login shell and any processes running under it ps # prints a line of information about the current running login shell and any processes running under it
ps -a # selects all processes with a tty except session leaders ps -a # selects all processes with a tty except session leaders