Chapter 2 Linux/Unix Processes

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.