Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
alright i am on redhat 8.0 and when i double click and a program icon for it to start nothing happens so i tried opening it through terminal and i got to see what it was doing all this code came up for about a half a second and then POOF! terminal shut down which would explain why i never saw the program this happens with a few of them i know there are some games that don't start the clock settings won't start....what is all this can someone help me out on what could be the problem i would have pasted the error but it was up and gone so fast and it happens over and over again but just to fast for me to see or even copy sorry.....if you can help that would be wonderful thanks in advance.......!
what the '2>&1' does is feed any error messages into standard output stream (1). if you just typed
ls 1> output.txt
then you would get all output from standard output into output.txt and any errors (which are written to standard error) would be lost after printed to the screen.
but you could also type
ls 1> output.txt 2>errors.txt
and that would put standard output (like the directory listing) into output.txt and if any errors occurred then they would get written to errors.txt.
so by typing 2>&1 you are telling both standard output AND standard error to be written to standard output. then standard output is redirected to output.txt with 1>output.txt