Flags in bash
01 May 2015The best way to explain is to show an example.
Read moreThis emacs header will add visual-line mode (wrap) to any file.
-*- mode:visual-line -*-
Redirecting the standard error (stderr) and stdout to file
$ command-name &>file
$ command > file-name 2>&1
To append to a file instead:
$ cmd >>outfile 2>&1
$ cmd &>>outfile