In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to use the commonly used Linux command screen for you. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
Linux commonly used commands screen commands for multiple windows manager, screen is a multiple window manager. The so-called window here refers to a full-screen text mode picture. It is usually only possible to use the screen program when using the telnet login host or using an old-fashioned terminal.
Syntax screen [- AmRvx-ls-wipe] [- d] [- h] [- r] [- s] [- S] parameter description:
-An adjusts all windows to the size of the current terminal.
-d takes the specified screen job offline.
-h specifies the number of buffer rows for the window.
-m forces the creation of a new screen job even if it is already in the job.
-r resumes offline screen jobs.
-R first attempts to resume offline jobs. If an offline job cannot be found, a new screen job is created.
-s specifies the shell to be executed when a new window is created.
-S specifies the name of the screen job.
-v displays version information.
-x resumes previously offline screen jobs.
-ls or-list displays all current screen jobs.
-wipe checks all current screen jobs and deletes screen jobs that are no longer available.
Create a screen terminal with an instance
# screen / / create screen Terminal create screen Terminal and perform tasks
# screen vi ~ / main.c / / create a screen terminal and execute the vi command to leave the screen terminal
# screen vi ~ / main.c / / create a screen terminal and execute the vi command # include main () {} "~ / mail.c" 0-1 press the Ctrl+a d key under the screen terminal to reconnect the departed screen terminal
# screen-ls / / displays the created screen terminal There are screens on: 2433.pts-3.linux (16:48:59 on October 20, 2013) (Detached) 2428.pts-3.linux (16:48:05 on October 20, 2013) (Detached) 2284.pts-3.linux (16:14:55 on October 20, 2013) (Detached) 2276.pts-3.linux (October 20, 2013) 16:13:18 (Detached) 4 Sockets in / var/run/screen/S-root. # screen-r 2276 / / connecting the screen terminal with screen_id 2276 is the end of this article on "how to use Linux commands screen". I hope the above content can be helpful to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
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.