In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Today, I will talk to you about using linux's disown command to remove jobs from the current shell. Many people may not know much about it. In order to make you understand better, the editor has summarized the following for you. I hope you can get something from this article.
The disown command removes all jobs from the job list in the current shell, or removes one or more specified jobs, removes running jobs, or marks jobs so that they do not end after the current shell exits.
This command needs to be executed when the set option monitor is on; to view the job control status: type set-o to view the monitor line; execute set-o monitor or set-m to turn on this option. Disown command this command is a bash built-in command. For more information, please see the help command.
Syntax format: disown [parameter] [identifier or process ID]
Common parameters:
Reference example
Delete all jobs:
[root@linuxcool] # disown-a
Delete a job in a running state:
[root@linuxcool ~] # disown-r
According to jobId, remove the specified background task:
[root@linuxcool ~] # disown% 2 [root@linuxcool ~] # disown-h% 2 after reading the above, do you have any further understanding of removing jobs from the current shell using linux's disown command? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.