Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
Hey everybody,
I am looking for a way to send command output to a file.
for example i want to send "ls" output command to file "output.txt" so i can read it in feature...
Regards.
Last edited by mr_aliagha; 02-27-2009 at 12:48 PM.
Use redirection. The symbol > redirect the output to a file, overwriting any previous content of the file, while the symbol >> append the output to an existing file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.