Ausgabe- und Fehlerumleitung unter Linux
eccho "gfg" 2>file.txt
echo "gfg" 2>file.txt
Aggressive Ape
eccho "gfg" 2>file.txt
echo "gfg" 2>file.txt
eccho "gfg" >error.txt 2>&1
echo "gfg" >error.txt 2>&1