3 ms·
I'm surprised that file> command isn't the preferred idiom. Does that mean something else?
by robertlagrant 3y ago
I'm surprised that file> command isn't the preferred idiom. Does that mean something else?
- hnlmorg 3y agoYes, that would write to a file called "command". So the correct way to write that would be: command > file https://www.gnu.org/software/bash/manual/html_node/Redirections.html https://www.gnu.org/software/bash/manual/html_node/Redirecti...
- smrq 3y agoThat would execute the command `file` and put the output into the file `command`.
- robertlagrant 3y agoOh, now I re-read it - of course! Hah.