DormanResearch : RedirectOutput?

Referers: LinuxHints :: (Remote :: Orphans :: Tree )

Dorman Wiki
Dorman Lab Wiki
# Redirect stdout to file, clobbering file contents
$ cmd > file

# Redirect stderr to file, clobbering file contents
$ cmd 2> file

# Redirect stderr to stdout
$ cmd 2>&1

# Redirect stdout to stderr
$ cmd 1>&2

# Redirect both stderr and stdout to the same file, clobbering file contents
$ cmd > file 2>&1
There is no comment on this page. [Display comments/form]