Tech Support Section Home Mekong Network Home
About This Site...
Mekong.Net Sites...
Recently Updated...
Recommended Links...
Contact Us...
Questions? Comments? Requests? Click here to contact us.

Linux Frequently Asked Questions

It would be more accurate to call this page "Basic Linux stuff that I always forget." But that's too long for the menus. So here are a few very basic tips, and answers to some simple Linux newbie questions. I use Red Hat Linux almost exclusively, but most of these (I think) will still be the same for other distributions.

I can't execute a command in the current directory. What's wrong?
To run a command in the current directory, you need to proceed the command with a dot slash, like this:

./command

How can I quickly change back to the directory I was just in?
The easiest way is to use this command:

cd -

I forgot the root password of my Red Hat Linux server. How can I recover or reset it?
If you installed LILO as the boot loader, and if you have direct access to the console, you're in luck. LILO will allow you to boot into single-user mode. To do that, you need to watch for the "boot: " prompt when the machine is first booting. At that point, you must type "linux single" (without the quotes) and hit Enter. This will start the machine in single-user mode. Once you're in, you can reset the root password with the command "passwd root".

I'll add more tips and such as time permits...