I have looked for this for a long time: how to have good fancy bash prompt. I found several example made in 1996 or 1998 that I had to tweak a lot.
Here’s a short type to handle arguments given like this to a bash script :
./my_script -arg valueContinue reading »
Phosphor is a nice screensaver (at least, I love it) that scrolls a text on the screen in a old school 80’s style. On Ubuntu 7.10, it comes with xscreensaver-data-extra from universe repository.
I wrote a bash script to generate the text choosing a random fortunes from a folder ~/fortunes where I save the fortunes in a text file (the script doesn’t depends from fortune app) :
As gusty is comming soon, I need to keep a list of my currently installed packages in order to reinstall (most) of them if I make a fresh install (actually update-manager allow to upgrade the distribution when a new one comes, but there is sometimes weird behaviors with this method). So here’s my little command to perform that:
the geek way :
dpkg -l | grep ’^ii’ | awk ’{print $2 $3}’ > mypackageslist.txtthe debian way (but packages names are incomplete) :
dpkg --get-selections
voila
english
français