-3

Seeing that /dev/null's utility isn't immediately obvious to me, what is the use of /dev/null piping?

9
  • 8
    Your current user handle. Commented Feb 10, 2014 at 5:08
  • Read the wikipedia page on it: en.wikipedia.org/wiki//dev/null. But given your username I'm going to assume you already know what it does and are goofing w/ us. Commented Feb 10, 2014 at 5:15
  • 3
    This question appears to be off-topic because it appears to be a joke. Commented Feb 10, 2014 at 5:15
  • It wasn't. You're just not creative. Commented Feb 10, 2014 at 6:07
  • You are newbie, read this PDF: sourceforge.net/projects/linuxcommand/files/TLCL/13.07/… Commented Feb 10, 2014 at 6:10

2 Answers 2

2

make >/dev/null
this will send the normal output to nowhere land, and retain all the errors right in front of you on the screen. Anything basically you don't need to see/have fill your screen you send to /dev/null

0
2

/dev/null is used where input, output, or both are not necessary. A read will result in zero bytes being returned. A write will accept any amount of data, and simply discard it.

This is most useful for cron jobs where you don't care about the output (or input, as the commands will not be running on an interactive terminal) Or where you want only the exit status of a command without any output.

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.