Linux Common commands

Source: Internet
Author: User

1. Join me at present with VI compiler a.txt, but I want to go back to the shell to do something else, together I am esc-->:!ls so now is Z Ctrl + Put VI into the backstage, go to shall under operation, want to go back to VI under command [[email protected] ] #fg can bring back the Backstage VI to the foreground.

2. Find all the cmakelists.txt in the current directory and subdirectories that contain the Misc_test field Cmakelists.txt

3.

If a program is executing, we want him to perform in the background. BG 1 (1 is the job number)

Use the jobs command to view running tasks

The program can be recalled to the front desk with FG 1.

4.& This is often used, this is used at the end of a command, you can put this command in the background to execute

CTRL + Z puts a command that is executing in the foreground in the background and pauses

BG Jobnumber A command that pauses in the background to continue execution

Linux Common commands

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.