Might as well keep these on the wikki rather than scrappy bits of paper:

Printing

lpr -P 
lp -d 

Mass killings

To kill all processes that include the name 'ssh-agent':

ps -e | grep ssh-agent | cut -c1-6 | sed 's/^/kill /g' >temp.sh
Creates a 'temp.sh' script that you can check and execute.

Finding things

find . -name '*.log'
I think. Markus corrected me before

Port tae Process

To find which process is occupying a port, use the following spell:

fuser {port}/tcp

Disk Use

Includes how much space is left, etc.

df

-- MartinHill - 23 Aug 2004

Topic revision: r3 - 2005-01-26 - 16:55:06 - MartinHill
 
AstroGrid Service Click here for the
AstroGrid Service Web
This is the AstroGrid
Development Wiki

This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback