On Sun, 2005-10-09 at 19:06 -0700, Mark Knecht wrote: > Hi, > I don't have a single book on Linux. (Amazing...) Can someone > recommend a simple book on command line stuff, or better yet a good > web site on this topic? > > For instance, I wanted to run a specific command on every file in a > directory which will create a new file, so I need to do > > command file1.wav file1-convert.wav > > I need to take each name, create a new name to build the actual > command that gets run and then do that for every file in the > directory, or even in a hierarchy of directories. > > Thanks, > Mark >
If you want THE book on command line stuff, I would highly recommend the book "UNIX Power Tools" published by O'Reilly. It basically goes over every common UNIX command line tool and covers the common/useful tasks you might want to do with it. It's a very thick book, but don't be intimidated by its size,you can read just the sections you need. It's basically a recipe book. As far as a website, a decent tutorial for shell scripting is available at: http://www.tldp.org/LDP/abs/html/ -- gentoo-user@gentoo.org mailing list