In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to use the suspend command in Linux, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand.
Linux common command suspend command is used to pause the execution of the shell,suspend built-in instruction for shell, but can pause the currently executing shell. To recover, you must use SIGCONT information.
Suspend suspends the execution of shell.
Summary suspend [- f] the main purpose is to suspend the execution of shell until a SIGCONT signal is received.
Cannot be used with login shell unless you use the-f option.
Option-f performs a suspend operation on login shell. The return value returns success unless job control is not turned on or an error occurs.
Example # Open a terminal and first get the PID. Echo $$# execute the suspend command suspend # and open another terminal, and send the SIGCONT command kill-s SIGCONT PID # the terminal before this time ends the suspended state and can interact normally. Note that bash's job control commands include bg fg kill wait disown suspend.
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.
This command is a bash built-in command. For help, please see the help command.
Thank you for reading this article carefully. I hope the article "how to use suspend commands in Linux" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
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.