Frequently used Unix commands
- Kill all remote processes for a workstation that's locked up
- Login to the locked up station remotely
- type
kill -9 -1
- This should immediately put the locked up workstation back to the login prompt
- Run program on server overnight, while you're logged out
- Login to remote server, using
ssh <server name>
(note: ssh -Y allows X11 forwarding of applications, like "remote desktop") - type
screen
- type
nice -10 <name of program> [program parameters]
e.g. nice -10 em -v foo.son - Get process running, then to escape from screen while leaving it running, press <Ctrl> a d
- Now you should be able to entirely logout and come back later
- To get back into your program later, login to server using
ssh <server name>
then typescreen -r
You will then resume your previous session, or if you had multiple sessions open, you will have a list of them returned to you. To resume the desired sessions, type:screen -r <5 digit session ID>
- Running Sonnet on Unix
- The console often must be told where Sonnet package resides. To do this (on MSU systems), type
source $SOFT/sonnet
then typesonnet
to execute - Running applications remotely (X11 Forwarding)
- This is not usually necessary, but it is possible.
- Login to remote server, using
ssh -Y <server name>
Then execute necessary command line instructions to open the desired application.

