By sonic0002
via pixelstech.net
Submitted: Mar 04 2013 / 06:32
In Linux, there are two special files /dev/null and /dev/tty. /dev/null will drop all the data written to it, i.e, when program writes data to this file, it means the program has completed the data write operation. But in fact it does nothing, if you just want the status of a command but not the output of a command, this feature will be very useful. See below shell codes:
Tweet
SaveShareSend
Tags: unix-linux
Add your comment