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 run Redhat 9.0 Linux everything was fine till i ran the command
cd /bin | ls > wc
i did it just to check what will happen... but after this when i use the ls command i dont see any file listing on the screen. It just executes and i get the prompt again. PLEASE HELP ME SET THIS RIGHT!!!!!!!!!
Originally posted by pony85
Thanks a lot i dint know that. I won mark it as URGENT unless it really is.
Ummm ... there is no such thing as "urgent". It may be something
that's quite important for you, but that's not OUR problem. The
people here help in their own good time, and because they want
to ... if you had a service-contract with anyone, you could
ask them for urgent solutions. On the net it's rude, full stop.
But could u please tell me how i can get back the orginal from of ls
For starters your redirecting the output of ls into a file called wc. Did you want a file called wc or did you want to use wc to do a word count. Secondly your piping the output of the cd command to ls, which with a proper directory is nothing. Perhaps you meant one of the following:
cd /bin; ls | wc
cd /bin && ls | wc