We all know that /dev/null is the 'bit bucker' or the 'black hole' (nothing but a special file
that discards all data written to it)
We also know the standard streaming conventions: STDIN(0) STDOUT(1) and STDERR(2)
Redirect both stdout and stderr to file "filename."
# Redirects stderr to stdout.
# Error messages get sent to same place as standard output.
Now lets analyze:
: This means that standard output goes to /dev/null and
standard error(2) should get redirected to where your standard output
is going(in our case it is /dev/null)
: As explained above, redirect standard output(1) and standard error(2)
So coders and SA's this is actaully same and dont get(urself) and try
make other confused with this please :P
More you can read here
Effective Time-management and Time-boxing is a concern for 'always ready people'. Being from a background that I am from, I am...
( A story on - how we formulated a process around measuring and achieving CICD, and how these journey lines has now become a means t...
Have you come across a situation when you need to reset the root password of a XEN virtual box. Logon Host machine run following command to...
I had to handle a recent escalation where /var reportedly got filled up - Someone with 'dbuser' userid deleted /var/log/message file...