Why is Dev Null used?

thanhthao

New member
Why is Dev Null used?
Answer
Usage. The null device is typically used for disposing of unwanted output streams of a process, or as a convenient empty file for input streams. This is usually done by redirection. The /dev/null device is a special file, not a directory, so one cannot move a whole file or directory into it with the Unix mv command.
 

Tìm kiếm

Back
Top