Basic Linux and UNIX program development tutorial
----- Reading Notes
Chapter 2 Linux/Unix Processes
1. When a command runs on the foreground, it keeps controlling the keyboard.
2. CTRL + z suspends a front-end process and CTRL + C terminates a front-end process. Add the & symbol at the end of the command to run the command in the background.
3. in Linux/Unix systems, daemon processes are system processes running on the background.
4. PS: displays information about the running process.
5. FG [% Job Code] switches a background command to the foreground for execution, and BG [% Job Code] switches a foreground command to the background for execution.
6. [root @ localhost/etc] # jobs
[1] + done CAT group |
Sushortded more
7. The suspend command suspends the current shell process.
8. Kill [-signal number]-Process List
Signal No.: 1, abort 2, interrupt 9, kill 15, software Signal