In UNIX, run the following to ensure any errors (known as stderr) is not displayed on the screen.
Use 2> /dev/null
i.e.:
df -k 2> /dev/null
This works when using the ksh shell. There will be other derivitives when using other shells.
Everything Changes
1 week ago