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.
"echo" is for " Display Purpose/OP"
0,1,2,3.... is this are IRQ Numbers ?
what is the function of " > "?
I think it is silly one for U ... not for me.... any help would be appreciate....
thnx in Advance...
zameer ahmed syed
echoing can be used for a lot of things, but basically what the above is doing:
echo 1 > /proc/whatever
Is sending the 1 to that file, to replace anything in it. Usually 1's turn things on, 0 turns them off.
The > is the thing to note.
If you were to:
echo 1 /proc/whatever
You'd get a 1 on your screen followed probably by a command not found or something similar, and the 1 would not be sent to /proc/whatever. The > tells echo not to send it to stdout (the terminal in this case) but rather to a file.
Thanx MasterC for Ur kind and Descriptive Reply..
Well and Understandable Explanation... but one thing i am not understand about numbers ....
If I used 1 , 0 , 2 ,l... i got the same result..... i am not able to differentiate between these numbers..... U said that 1 is for turned ON...
0 is for turned OFF...
I used 0,1and even 2 also ..... didn't get any errors...same result for all..... little bit hanging here that what is turn ON and turn OFF... and about these numbers..
i am requesting U some more explantion about this issue.....
The numbers are dependant upon whatever process you are applying them to. My suggestion of 1's being 'on' and 0's being 'off' might not always hold true, you'd be best off researching the process you are wanting to apply the numbers to. The number could also be for how many processes to start, or how many subdirectories to recurse...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.