General Category > General Discussion
Useful Screen Commands
(1/1)
nidhinjo:
>> To install screen
--- Code: ---#yum install screen
--- End code ---
>> After installation if you see "/var/run/screen must have permissions 777" then change the permission to 777
--- Code: ---#chmod 777 /var/run/screen
--- End code ---
>> To list screenname and state (attached or detached)
--- Code: ---#screen -ls
--- End code ---
After typing screen -ls it will show whether screen is "detached" or "attached" state
>> To reattach "detached" screen
--- Code: ---#screen -r <screenname>
--- End code ---
>> Leaving screen
--- Code: ---press down ctrl + A together and type D (ctrl A + D)
--- End code ---
>> When u type screen -ls if the screen is attached, then do the below
--- Code: ---#screen -D <screenname> then
#screen -r <screenname>
--- End code ---
Navigation
[0] Message Index
Go to full version