Advanced

Linux Commands for 99 Bottles of Beer and Disk Space

Posted by Scott_Ruecker on · 1 comment
LinuxPlanet; By Carla Schroder
Mail this story
Print this story

Linux server admins need good scripting skills and command-line chops, but who says they can't be fun? Learn Bash Karaoke with 99 Bottles of Beer on the Wall, quickly find disk hogs, and display used/free disk space.

Full Story

  Nav
» Read more about: Story Type: News Story; Groups: Linux

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments (1)

Scott's post about scripting fun (http://www.linuxplanet.com/linuxplanet/tutorials/7216/1/) using "99 bottles of beer" to learn from is great...but I couldnt resist substituting espeak ....here is the old script.

x="bottles of beer";y="on the wall";for b in {99..1};do echo "$b $x $y, $b $x. Take one down pass it around, $(($b-1)) $x $y"; sleep 3;done

and the improved script... :-)

x="bottles of beer";y="on the wall";for b in {99..1};do espeak "$b $x $y, $b $x. Take one down pass it around, $(($b-1)) $x $y"; sleep 3;done

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post