ChrisPhillips
Programmer
tar -xvf test.tar >/tmp/tar.log 2>&1
When I use the above command I can capture all output in my log file, but if I run out of disk space then I get the following error displayed on my terminal.
msgcnt 878 vxfs: mesg 001: vx_nospace - /dev/vg01/lvol5 file system full (1 block extent)
Is it possible for me to capture this error messages in my log file and for nothing to be displayed on the screen.
When I use the above command I can capture all output in my log file, but if I run out of disk space then I get the following error displayed on my terminal.
msgcnt 878 vxfs: mesg 001: vx_nospace - /dev/vg01/lvol5 file system full (1 block extent)
Is it possible for me to capture this error messages in my log file and for nothing to be displayed on the screen.