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 am running Red Had 9. I am trying to run tar to extract a tar file. When I do, I get many messages saying "Cannot open: No such file or directory" I am running this command from the directory where the tar file is located:
The dash is optional. First thing would be to make sure that you are in the directory or giving the full path (check) and that the filename is spelled correctly. (?) Not found is odd, though. I might say you maybe downloaded it as root (or whatever) and are now trying to access it as user, but that should give a different error message. Next, I'd run 'file' on it in case it isn't really a tar.gz, but that should also give a different error. Same thing regarding whether you have tar and it's on your path - wrong message, but maybe.
I'm guessing it's a typo. Are you using tab-completion? Getting the case right? The file does show in an 'ls'? Strange.
I have made sure it is not a typo. I did, however, download it as root, then tried to extract it as another user. So, I deleted the file, then tried to cp it from the cdrom again as a different user. It said "permission denied". Is there a way to give that user the right permissions to do that?
Distribution: Gentoo 2004.2, Slackware 10, Windows XP, Windows 2003 Server
it goes like this there are a user and group permissions on a object.. when you do ls -l you see:
r--rwxr-x bob root
The first three characters (r) give read access to bob
then the second three characters (rwx) give read, write, execute access to root
the last three characters (r-x) give access to all other users (and there is read, execute access)
they way to change those two users is to use the "chown" command and then change file permissions with chmod
chown gschrade <file>
chmod u+rwx <file>
This changes the file to look like this
rwxr--r-x gschrade root
and your file will work, suggest ya go online and search "chmod tutorial" to learn more bout this stuff
btw the chmod 777 is an old way of doing this, use the rwx way cuz its easier to understand