jobs: Displays minimal information about processes associated with the current sessionps: By default,psonly displays process that were run from its own terminal–A \ -e: Displays all processes on a system-u: Displays processes given by a specified user-H: Groups processes and use indentation to show the hierarchy of relationships between processes-w: Tells ps not to truncate to system
uptime: Find uptime and display load averagebg: Restores a job to running status, but in the backgroundfg: UseCTRL+Zto pause a program and, thenfgto send the program to foregroundkill: Can be used to stop executing processes, uses PIDnohup: Run a command immune to hangups, with output to console or non-ttykillall: Can be used to kill all processes of a certain namefree: Show free memory and swap
SIGHUP 1 HANGUP
SIGINT 2 INTERRUPT FROM KEYBOARD
SIGKILL 9 KILL SIGNAL
-
This signal is not blockable and causes the program to terminate abruptly; only use if you can’t terminate with 15
-
SIGTERM 15 TERMINATION SIGNAL: Asks the program to finish what it is doing, then exits; clean exist; the preferred way of killing processes -
SIGSTOP 17,19,23 STOP THE PROCESS: When a child process exits from a parent process it sends signal 1 -
Signals in the man page
man-k signal