The great command line challenge
Pipes are extremely important, and even critical to our ability to do amazing things on the command line.
First, it's important to recognize that they were invented by Douglas McIlroy during the early days of Unix. Thanks, Doug! Next, what is a pipe, in this context? Notice the use of pipes in this simple command line program that lists each logged-in user a single time no matter how many logins they have active .
who | awk '{print $1}' | sort | uniq
read more
|
|
Full Story |
This topic does not have any threads posted yet!
You cannot post until you login.