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.
okay, yesterday I installed RH7.3 and just did all my activities in root, which I learned is a bad thing to do so I created a user file for myself. Now, my question is: Whenever I was using the root identity any console command would work, of course.
But in my new personal profile, even if I su and switch over to root simple commands like 'setup' or 'shutdown -r now' no longer work. It's kinda annoying and I haven't been able to find out how to correct the problem. Can someone plz explain to me how I can get things as simple as 'shutdown' to work in my personal profile?
"su -" makes you root, and loads root's environment variables (the PATH is probably most important to you). A normal account does not include /sbin or /usr/sbin in the path as those are system administration commands. So, if the shell claims that it can't find the executable, that's the problem.
If the programs are failing then it's something else entirely.
Another option (love linux for options) is to go to another "terminal" and do your root stuff. If you're running a GUI (KDE, GNOME, ICEVM, etc) press Ctrl-Alt-F1 (or F2, F3, etc) to move to another terminal. You can log in there as root (or anyone else, for that matter) and do what you need to do.
I'm not familiar with RH7, but most distos I've seen have the default GUI at Ctrl-Alt-F7, to get you back to KDE/GNOME/Whatever.
Make sure that the "shutdown" program has access permissions such that it is executable by you, and make sure you have corresponiding path in your environment (or call it using the full path i.e. "/usr/sbin/shutdown" or wherever your "shutdown" is, you can find it with "find / -name shutdown").
IMNSHO WRT RH9 (how's that for a working string of acronyms ):
RH8 and RH9 seemed to me to be the time that RH started trying to aim more at eye candy than anything else. I tend to believe that RH 7.3 is about the ending point of a solid, good, not so "I'm afraid to include X in this release" or "I need to make this look extremely different so no one can know what it really is" release. 7.3 was also the turning point when (again to me) RH started going more commercial. That's neither good nor bad, it's just something I believe was the turning point.
8 and up also seemed to jump versions very quickly just so they didn't have an inferior version number to Mandrake. That's not saying much other than they feel competition.
Now I know I'll get A LOT of slack for this next illustration, but it's my non-RH using personal oppinion and could easily be VERY incorrect:
7.3 <---- Aimed at adults, more mature, more specifically, the CLI crowd 'types'.
"Patty Cake" Version, aimed to please the newbies (but not very well...) expects little to no linux knowledge (yet doesn't provide enough help in doing so) -----> 8 and up
Again, I don't use RH and haven't since 7.2 (which was only for a short time then too) so I hope my personal opinion holds little to no weight on anyone's opinion or ideas about RH