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.
Hi, I am having a hard time writing a shell script to a text file in vi.
I open a file via:
I write my script, and then switch to command :!wq [enter]
I get a E212 cannot write to file. Obviously I know that there is a permission issue here, but how can I change the permission of a file I cannot save to??? The next obvious question is how to change the permission to a file that cannot be save to?
chmod 700 WK3-IA
and it says the stupid file does not exist, which seems pretty obvious since I cannot save to the file after I opened it. Did I miss something here? I realize I am a newbie to Linux, but the logic seems to be missing somewhere here.
From readin the thread I'd say its a permission problem on the directory your trying to write the file to. And if you can't write the file it just does not exists. So you can't change permission on it.
In this case write the file your lacking permissions on to /tmp and fix permission issues later. Or use the shell escape sequence to change permissions