Please Scroll Down to See Forums Below
napsgear
genezapharmateuticals
domestic-supply
puritysourcelabs
UGL OZ
UGFREAK
napsgeargenezapharmateuticals domestic-supplypuritysourcelabsUGL OZUGFREAK

piping to /dev/null

Lumberg

New member
How many of you guys have heard this term?

Know what it means?

Have ever used it?

Thanks

Yours in sport and computing

Lumberg
 
LOL actually "dev/null" was the destination folder we set up as default for directing all emails collected by a webhosting account "catch all" email address to keep the mailbox from filling up & consuming the hosting account's allocated space on the server...
 
yes its like a trash bucket,
but even better you can Zero out large files that still have a process tied to it.

cat /dev/null somefile

will basically wipe it out, but still leave leave the file there
 
vansmack2000 said:
yes its like a trash bucket,
but even better you can Zero out large files that still have a process tied to it.

cat /dev/null somefile

will basically wipe it out, but still leave leave the file there

that's interesting as well.


Well I am asking because the term is often called "piping to /dev/null" but you can't actually pipe "|" processes to /dev/null. The correct usage is $ command > /dev/null or "redirecting to /dev/null."

So it's a convenient shorthand, but not technically true that you can "pipe to /dev/null" because /dev/null is not generally executable.
 
/dev/null is where 99% of EF threads need to go.
 
Top Bottom