Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Where are all my programs installed to. In Window they usually go in the folder "Program Files" what's the Linux Mandrake version of this folder. Also where do I find IPTables (this may be answered with the previuous question!)
When you install from RPMs binaries go to /usr/bin, libraries to /usr/lib, other files may go to other directories in /usr. System programs (basic ones) usually go to /bin or /sbin. When you compile a program from source it usually goes to /usr/local/bin etc.
Iptables should be in your /sbin (/sbin/iptables).
Originally posted by lectraplayer OT (sorta), how do I find about my hardware? I heard it was like cat /etc/pci or cat /dev/pci, but that isn't working for me. I know hardware is mounted in the file structure under /dev.
/proc/pci, in fact. Info about hardware is in /proc. It's hard to say that the hardware is mounted in /dev. It's better to say that files in /dev represent certain pieces of hardware.
Originally posted by Mara /proc/pci, in fact. Info about hardware is in /proc. It's hard to say that the hardware is mounted in /dev. It's better to say that files in /dev represent certain pieces of hardware.
The command "find" by it's self will list every file on the system if typed in the root ( / ) directory, so expect that to take a while.
Whereis will only find things that are in your path. To see your path, type: echo $PATH
For webserver files, the default directory for the "default" website in the redhat install of apache is
The config file for apache is in /etc/httpd/conf - usually httpd.conf or httpsd.conf. The default directory should be in there. If you're not talking about the default apache folder, but a specific virtual host in apache, it will be in the virtual host entry in the apache conf file. Search for "DocumentRoot" in the conf file. A virtual host usually looks like this:
ServerAlias domainname.com www.othername.com othername.com
So, in this case, the files that show up when someone goes to domainname.com are in /home/bob/www.