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.
Could any one tell me How to open a directory. No book or on line explanation of commands seems to give this. Commands for opening of files do not appear to work for Directories. Manipulating files is covered, cd,cp, mkdir, rmdir etc are covered in books etc,but I could not open a directory with command line.
yap, what do you mead open? are you saying you want to browse directory just like using "cd" command in dos prompt?
In that case just try "ls \" that is to browse your root, or "ls \usr\lib" that is to access folder lib in your usr directory.
Refer Centinul's question:What do you mean by "open" a directory?: I mean "How can I view the directory's contents".
I made(or whaterever you call it in Linuxspeak) a directory and named it "babu". With "touch" command, I opened a new file in it. I entered some text in that file. The next day, I wanted to view the contents, add some more text to the file in that directory and make another file in the directory.But for that, I should be able to "open"(as I call it) or view the contents of that directory which I could not do.
Chrism01 has given a remedy which is worse than the disease. Please appreciate that such an explanation is a daunting one for a normal and new user.
My "instructor" at the place I have joined to learn Linux gives only superficial explanation. I have to necessarily depend only on my enthusiasm and other members' support.
In bash, the simplest way to see a dir's contents is to move into the dir using the 'cd' cmd eg:
then list the contents
then use editor of choice to add text to file.
Note that 'touch' creates a file if it does not already exist. If file does already exist, it updates the timestamp to 'now'. 'touch' does NOT open a file...