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.
After reading an article on tomshardware about installing nvidia drivers,
I tried typing in some of the commands he used to see some of the info
about my system. I'm using Mandrake 8.1 and the tomshardware how-to
was a version of SuSE.
I logged into the root console and typed /etc/inittab
Response bash: /etc/inittab: Permission denied
Then I typed /usr/include/linux
Response no such file or directory
Then I typed /usr/src/linux
Response no such file or directory
Is this happening because the commands do different things in different
The /etc command was supposed to show me a list of initdefault
commands on start up.
The /usr command was supposed to show me the autoconfig.h files.
Any ideas as to why I was denied permission when logged in as root or
why the other commands brought back "no such file" responses?
To know when a command is a command, you need to learn them first. I'd try to get a tutorial on basic commands for Linux. There are lots on the Web. If you already know some, say cd, you can type man cd and Linux will display the online man(ual) for that command and the options to use.
When you are going to consult the man pages for any command, you must type man first, if you were to type, as you are asking, cd man you are telling Linux to change directory to a directory named man. So, always place man [command] to view man pages.
they even have a howto on the man pages.. just man man to view it...
but yeah, you have to know a little more about the commands, then it just comes natural to you and you can usually tell what is a command, a file, a script, and executable... and so on.. once you get to know your system.
most of the commands are located in /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin /usr/X11/bin /usr/local/X11/bin(Depending on Distro). Or to find out which directories have commands avalable to you type echo $PATH and the results will show a list of directories where the commands are located. Just cd to one of the directories, do a ls, and if you want to know more about the commands listed, type man <command>.
If you have time I would do man for all the commands just to see what they do.