Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The only one who can tell me something is N years away is someone who just stepped out of a time machine. I see no time machine, I pipe to dev null.


You cannot pipe to dev null, since it's a device, not a process.

So, to summarize in shell-like syntax, you can redirect your output to /dev/null, as in

$ me > /dev/null

but you can't sensibly use a pipe like so:

$ me | /dev/null

This has been a message from your friendly neighborhood Unix fundamentalism/literalism chapter.


    $ sudo cp /bin/cat /dev/null
    $ echo test | /dev/null
    test
(this doesn't actually work)


but you had no problem with the time machine. only on HN.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: