How do you write to Dev Null?

Đức Linh

New member
How do you write to Dev Null?
Answer
You write to /dev/null every time you use it in a command such as touch file 2> /dev/null. You read from /dev/null every time you empty an existing file using a command such as cat /dev/null > bigfile or just > bigfile. Because of the file’s nature, you can’t change it in any way; you can only use it.
 

Tìm kiếm

Back
Top