6th Chapter Linux/unix Process __linux

Source: Internet
Author: User

                         Linux&unix Program Development Basics Tutorial
                                        -----Reading notes


6th Chapter Linux/unix Process
1, when a command is running in the foreground, it always controls the keyboard.
2,ctrl+z suspends a foreground process, CTRL + C terminates a foreground process. You can make the command run in the background by adding the & symbol at the end of the command.
3, in the Linux/unix system, the daemon is the system process running in the background.
4,ps: Displays information about the running process.
5,fg[% Job Code] switch a background command to the foreground execution, bg[% the job code to switch a foreground command to the background execution.
6,[root@localhost/etc]# Jobs
[1] + Done Cat Group |
Suspended more

The 7,suspend command suspends the current shell process.
8,kill [-Signal number]-process list
Signal Number: 1, abort 2, interrupt 9, will 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.