Horje
how to append on file in IO redirection Code Example
how to append on file in IO redirection
cmd >>file.txt 2>&1

>>file.txt: Open file.txt in append mode and redirect stdout there.
2>&1: Redirect stderr to "where stdout is currently going". In this case, that is a file opened in append mode. In other words, the &1 reuses the file descriptor which stdout currently uses.




Shell

Related
git how to push to different accounts Code Example git how to push to different accounts Code Example
batch remove double quotes Code Example batch remove double quotes Code Example
tor browser shortcut linux Code Example tor browser shortcut linux Code Example
linu xcreate folder link Code Example linu xcreate folder link Code Example
linux linebreaks script bash Code Example linux linebreaks script bash Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
14