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.
i have also an ubuntu8.10 paltform , i want to install a package from the source called hdf5 which is needed to run another program but when i unzipp it and i want to change a file in the folder it says that i do not have the access to change it , i tried sudo -s but again the same problem happend
what can i do to become root to change the file
the permission is root and i also tried that rm -rf but again the same message appeared .
This is one of the major reasons I dislike Ubuntu. Is it really too hard to use su -c 'cmd' ??? Or set a root passwd and still make the 1st user a full sudoer by default???
Thats just my two cents; sorry for the rant. Back to your issue...
sudo su -
Will get you into root. Then you may use rm -rf on that directory as the previous poster suggested. And I will warn you in case you don't know; root and rm -rf although needed can be very harmful to the integrity of your system so think before you type.
Traditionally, the 'rmdir' command does not work if the directory is not empty. You have to do 'rm -rf' instead. With Ubuntu, which was designed for families with exploratory children, you may be allowed to do it with sudo, (sudo rm -rf directory), if the administrator allows you to do so.
If you don't like the extra typing involved with sudo, install Debian....if the administrator will allow you to do so.
If you're stuck with Ubuntu because your a child under a parent's control, type 'sudo' once and a while and hit enter, you'll get an error or nothing, but at least you don't have to type it at every command, all you have to do is hit the up arrow key to go through the bash_history of past commands till it shows up, then add the root command you're allowed to use, and you'll save having to type those extra four letters...since you're lazy enough to complain about it.