Usage of /dev/null
Since it discards anything written to it, you can move files to /dev/null to delete them. But this is not a widely used use case. It is mainly used to discard standard output and standard error from an output.
What is /Dev/Null in Linux?
If you have been learning shell programming, you may already have come across something like /dev/null. In this article, we will understand what it is and how it is used. Let’s start off by understanding what /dev is.
Contact Us