1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-06-01 12:20:48 +00:00

Update bash.sh

This commit is contained in:
nswinson 2020-06-20 10:05:40 -06:00 committed by GitHub
parent d89e4aed41
commit fbbaaa6f0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -380,6 +380,7 @@ kill -l # returns a list of all signals on the system, by name and
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 -s SIGKILL 4500 # sends a signal to force or terminate the process
kill -15 913 # Ending PID 913 process with signal 15 (TERM) kill -15 913 # Ending PID 913 process with signal 15 (TERM)
kill %1 # Where %1 is the number of job as read from 'jobs' command.
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