How to redirect output to a file?
Anyone know how to redirect output to a file?
add > filename in the command.
Good tutorials on redirection are out there. Google on "Linux redirection"
> send to file (create if neccesary)
>> append to file
< read from file
<< read from "here"--eg the terminal
2> redirect errors to file
you can also use "exec" to change file descriptors--eg for the life of a script or segment.
|All times are GMT -5. The time now is 07:35 PM.|