Dunamis Design Net

Our work, forums, and play.

Linux One Liners

23rd October 2006

I wanted a place to put quick command that I use. I sometimes forget, and wanted a quick reference for myself.

Remove backup files recursively (bash/sh):

find ./ -name '*~' -exec rm '{}' \; -print


Rip CD to one wav file:

cdparanoia -w

-
Rip CD, one track/wav file:

cdparanoia -w -B

-
YUM update one set of files. (This pulls all rpms that begin with SDL, I like this example because it whose awk example and xagrs):

yum list updates | awk '/^SDL/ {printf("%s ",$1)}' | xargs yum upgrade -y

Also done with:

yum upgrade SDL*

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>