vodkadrinker
Technical User
Can anyone point me in the right direction as to what each number stands for in a redirect.
2 = standard errors etc..
What I want to do is send the errors to a logfile and to the screen at the same time.
Example line
umount /datafilesystem > /tmp/logfile 2>&1
This will send the output to the file but not to the screen.
Thanks
VD
2 = standard errors etc..
What I want to do is send the errors to a logfile and to the screen at the same time.
Example line
umount /datafilesystem > /tmp/logfile 2>&1
This will send the output to the file but not to the screen.
Thanks
VD