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.
Suppose I gave following command to find jpg files in windows folder
find /windows -iname *.jpg
A long list will start scrolling then how to terminate command (like ctrl+break in DOS).Simply closing terminal window is not correct way.
Or lets say you want to start a program from a terminal window but would like to continue working from that same terminal. Start the program and postfix the command with a & the ampherstand will start the program in the back ground and return you to the prompt. i.e. emacs & will start emacs then return you to the prompt.
Any time you open a terminal that terminal becomes the parent process and anything you start within becomes a child process so to keep using the same terminal for other things you must run the child processes in the background or wait until they are done. Also it should be noted, if you have several child processes running in the background and you kill the parent process you will kill all the child processes also.
find /windows/ -iname *.exe
then list started scrolling then I pressed ctrl+z then entered bg so list continued & before I can write another command the list overwrites it so it is horrible when command's output is continuous because you have to wait till it finishes like in fg.
TO ALL READERS
(1)as billymayday told you can send search output to file if there are more than screenful of results also send searching to background by adding ' &' after command & run other commands in same terminal.
(2)As lazlow said you can run
<command> | more
to see 50 result at a time &
<command> | less
to scroll the list one by one with arrow keys.