Bash Snippets

One-liners and other common tricks to use on the command line.

  • List dirs
    • find . -type d -maxdepth 1 -exec ls -ald {} \;
    • ls -ld */
  • mp3-2-wav
    • mpg123 -r 44100 –stereo -w “$f.wav” “$f”
  • burn audio cd
    • cdrecord -v speed=48 –dev=/dev/hdd -eject -pad -sao -audio *.wav
 
code/bashsnippets.txt · Last modified: 2005/09/07 20:47 by bw
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki