LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   What does the command do, &> filename? (https://www.linuxquestions.org/questions/linux-general-1/what-does-the-command-do-and-filename-708498/)

manohare 03-01-2009 11:45 PM

What does the command do, &> filename?
 
Can anyone please reply the output of the command.

&> filename

David the H. 03-02-2009 12:23 AM

It redirects the standard output and standard error of a command to a file. IOW, all the output that normally outputs on the terminal will go into "filename" instead.

It's not really a command though, because you don't run it on its own. It's a type of I/O redirection that you tack onto the end of a command when you launch it.

manohare 03-02-2009 04:19 AM

The link which you have provided is very useful for me.

Thanks a lot David.


All times are GMT -5. The time now is 08:36 PM.