Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to manage the program of Linux

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly explains "how to manage the program of Linux". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to manage Linux programs.

Programs and programs (process & program)

Program (program): usually binary program, placed in storage media (such as hard disk, CD, floppy disk, magnetic tape, etc.) and exists in the form of physical files

Program (process): after the program is triggered, the permissions and attributes of the executor, the program code and the required data of the program will be loaded into memory, and the operating system will give the unit in memory an identification code (PID). It can be said that the program is a running program.

Work Management (job control)

Directly throw the instruction into the background to "execute" &

Tar-zpcvf / tmp/etc.tar.gz / etc &

Drop the "current" job into the background "pause": [ctrl]-z

Think about this: if I am using vim and find that I have a file that I don't know where to put and need to search in the bash environment, do I want to end vim at this time? He he! Of course not! Just throw vim into the background for a while and wait. For example, the following cases:

[root@study] # vim ~ / .bashrc # in the general mode of vim, press the two keys [ctrl]-z [1] + Stopped vim ~ / .bashrc [root@study ~] #

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report