Thursday, April 19, 2007

Commands @ FreeBSD

Delete all contents of a directory

rm -f *

Download a file from a URL

wget URL

Delete a directory

rm -r dirname

Delete a file

rm -f filename

List Processes

ps ax

Killing a process

Kill -9 PID

Finding a file

find (where to find) -name FileName