Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

output and error redirection in linux

eccho "gfg" >error.txt 2>&1
echo "gfg" >error.txt 2>&1
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #output #error #redirection #linux
ADD COMMENT
Topic
Name
7+1 =