I have a mental block when it comes to the UNIX command 'screen' so this is a short reminder for me.
In a UNIX shell run 'screen' to create a new session. In this you might want to run a long job.
To exit from a screen session, destroying that session in the process, type 'exit'.
To detach from the session, leaving it running, type 'Ctrl-a d'
To return to a running 'screen' session from a top level shell, type 'screen -x'. This will list all running sessions and identify each with a PID number.
To return to a specific session, when you only have one running, type 'screen -r'.
To return to a session when more than one are running add the PID to the command, e.g. 'screen -r 123'.
A collection of computer systems and programming tips that you may find useful.
Brought to you by Craic Computing LLC, a bioinformatics consulting company.
Tuesday, August 11, 2009
Subscribe to:
Post Comments (Atom)
Contributors
Archive of Tips
-
▼
2009
(53)
-
▼
August
(9)
- Capistrano and Environment Variables
- Lightbox2 in a Rails App
- Configuring SSL on an AWS EC2 instance - Security ...
- AWS EBS Volumes and Snapshots
- UNIX screen command
- Creating and Attaching AWS EBS Volumes to an EC2 node
- Sinatra and Passenger
- Rename a MySQL database used in a Rails Application
- RedCloth 4.2.2 and textilize in Rails 2.2
-
▼
August
(9)
No comments:
Post a Comment