Monday, July 9, 2007

Linux syntax that's easy to forget

Linux commands

To find files that start with "tay"

find / -name "tay*"

a lot of built in linux programs are in /usr/bin like the text editor:

/usr/bin/gedit

To see kernel version on a system that uses rpm:
rpm -q kernel

to see kernel version: uname -a
to see what processes are running: ps -e
reboot: shutdown -r now

No comments: