more unix jokes - /dev/null

Maarten Litmaath maart at cs.vu.nl
Mon Sep 19 21:53:53 AEST 1988


If one wants to run a command with output getting discarded, the obvious
solution is:

	command > /dev/null

But what would you do if you happened to have no such device? :-)
Is the intended still possible?

Yes! (Better use the Bourne shell.)


	command 1< /etc/passwd 2<&1

:-)
-- 
    Alles klar,                       |Maarten Litmaath @ Free U Amsterdam:
                   Herr Kommissar?    |maart at cs.vu.nl, mcvax!botter!maart



More information about the Comp.unix.questions mailing list