mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
parent
49d9883b3e
commit
dc470bcad3
1 changed files with 2 additions and 0 deletions
|
@ -146,6 +146,8 @@ An example of a file redirection is `echo hello > output.txt`, which directs the
|
|||
- To append standard output to a file, write `>>DESTINATION_FILE`
|
||||
- To append standard error to a file, write `^^DESTINATION_FILE`
|
||||
|
||||
- To not overwrite ("clobber") an existing file, write '>?DESTINATION' or '^?DESTINATION'
|
||||
|
||||
`DESTINATION` can be one of the following:
|
||||
|
||||
- A filename. The output will be written to the specified file.
|
||||
|
|
Loading…
Reference in a new issue