Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

redirect stderr to file linux

command > file.txt  # redirect stdout -> file
command &> file.txt # redirect stderr -> file
 
PREVIOUS NEXT
Tagged: #redirect #stderr #file #linux
ADD COMMENT
Topic
Name
3+4 =