May 10 2007

What is fstab?

Tag: Linux Questionserm @ 5:01 am

/etc/fstab is the file linux reads to figure out where you want your drives/partitions to be mounted.


May 10 2007

How do I tell if a drive is mounted?

Tag: Linux Questionserm @ 5:00 am

The easiest way is to run df.
df -h shows the same information, only it displays it in human readable format.


May 10 2007

How do you restart X?

Tag: Linux Questionserm @ 4:57 am

Well there’s a couple of ways to do this.

Ctrl+alt+backspace = Restart X
Or there are alternate routes.
If you can run commands as root you can also run /etc/init.d/gdm /etc/init.d/kdm this is not the same for all distros however. Each distro has it’s own way of doing this. I recommend you figure this one out on your own.