Capture output of certain Unix commands
A while back, I was trying to capture the output of the Unix command httpd -t to the clipboard. Typically, you do this in OS X by sending the command's output through the pbcopy command. But in this case, it wasn't working. After much investigation, what I learned is that some Unix commands, httpd -t included, don't send their output to the Terminal in the usual way.
View full article »
Esther Schindler
If the comments are ugly, the code is ugly
claird
SVG a graphics format for 21st century
pasmith
Take Chrome OS for a test spin
Sandra Henry-Stocker
Solaris Tip: Have Your Files Changed Since Installation?
jfruh
Android fragments vs. the iPhone monolith
mikelgan
What Gizmodo missed about the Pro WX Wireless USB disk drive
Sidekick: The Good News & the Bad News
Either way you look at it Microsoft Data Center management did not follow standards or best practices in this failure. In which case it makes me wonder more about the outsourcing of corporate data much less personal data.
- mburton325
Join the conversation here
Quick, practical advice for IT pros. Made fresh daily.
Want to cash in on your IT savvy? Send your tip to tips@itworld.com. If we post it, we'll send you a $25 Amazon e-gift card.













Clarification
Actually, the '&' goes with the '1' to specify that the target is standard output (&1). You could just a easily redirect the standard error to a different file with'2 > /somepath/somefile'.
This does not change your solution however, because the pipeline '|' will only feed the standard output to another program.