Suppressing output


show more Suppressing output provides you with in-depth training on IT. Taught by Kevin Skoglund as part of the Unix for Mac OS X Users show less
please wait ...

Suppressing output

Now that we've talked about the basics of redirecting input and output, there is one last redirection technique that you should know about. Instead of redirecting output to a file or into a command, what if we want to have no output at all? This is especially useful when you become advanced enough that you're able to setup scripts on a server that run automatically at 4 a.m. even when there's not anyone logged in to view the output. At that point you don't need the output, right. You just want it to just do this thing and the output should just go away, and there may also be occasions where you want to run a program or you just don't want to see the output. You just want the program to do its thing and get its results.

Well we could just put the output to a file and then throw away the file, but there is an even easier way to do it. We can redirect the output to a special file that referred to as the null device. It's also sometimes called the bit bucket or the bl...

Suppressing output
Video duration: 2m 10s 6h 35m Beginner

Viewers:

Suppressing output provides you with in-depth training on IT. Taught by Kevin Skoglund as part of the Unix for Mac OS X Users

Subject:
IT
Software:
Mac OS X Unix
Author:
please wait ...