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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
when we install some package then their are some commands which are shown on the console but we cant see all of them when they are more than a limit. i wanted to know that how can we save th efull info which has been displayed without loosing even a single word...
When you run any Linux command, you can redirect any output to a file. You will want to read up on this, because some options are not intuitively obvious.
Simple example:
Read a file named "stuff" and put the output in a new file named "mystuff":
cat stuff >mystuff
when you run certain commands you can have normal output + error messages. Te be sure that it ALL goes to a file, you need to redirect the "stderr" stream also--like so
cat stuff >mystuff 2>myerrors
There are also ways to get stdout and stderr to go to one file
The book I recommend for this kind of thing is the Bash Guide for Beginners, by Machtelt Garrels. It is at tldp.org
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.