[Leaplist] 10 good linux habbits to adopt

Steve Litt slitt at troubleshooters.com
Wed Dec 20 09:57:36 EST 2006


On Sat, 16 Dec 2006, Ray Brunkow wrote:

> from IBM:
> 
> 
http://www-128.ibm.com/developerworks/aix/library/au-badunixhabits.html?ca=lnxw01GoodUnixHabits
> 
> are these things good, bad, indifferent?

Hi Ray,

IMHO that's a personal choice. It looks like the intention of these habits is 
saving time, so if you do a whole lot of complex operations on ad-hoc lists 
of files, it would be good to learn xargs, but if you do that kind of thing 
once a week, why not pipe the list to a file and use Vim to make a 
shellscript to do the work. By the way, xargs can be *really* dangerous.

His admonition to use myprocess < myinput instead of

cat myinput | myprocess

is, to me, a trifling matter not to be concerned with. On the other hand, if I 
did that operation every five minutes, it could save some serious time.

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


More information about the Leaplist mailing list