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.
Use pico filename to edit the file, vi will also work but pico is much easier for newbies. To view the file you can also type "cat filename | more" which is probably the same as just typing more filename..
Basically the big difference I see is when using less, you'll stay within view of the file until you hit Q to exit out. With more, if you keep scrolling down to the end of the file, you'll end back up at a prompt.
Use a viewer to see an install or a readme file, not an editor - you have no reason to change the file, besides which viewers are simpler to use. more and less are both good - you can move a screen at a time in more, one direction only, by hitting the space bar, a line at a time with the return key. Scroll up and down in less with the up and down arrows, back a full screen (very useful to just go back read something again) with control+b - b on its own works on some files but not all to scroll back a screen in more. I have no idea why it only works sometimes. cat is only useful for files not larger than one screen in size.
Add in what trickykid said and you've about got the lot. The attractions of those viewers is how simple they are to use. Less has the advantage of going backwards as well as forwards, except for those files where b works in more, and it stays in the file when you reach the end. That's minor, because the up arrow from the command prompt will give you the more command again, anyway. Exit either at any time with the q key. Note the keys cited, b and q, are lower case.
BTW, to use any of them, using more as the example, at the command prompt type more /pathtofile/nameoffile and hit return.
Last edited by jazzclubber; 12-15-2002 at 08:54 PM.