Archive for April 4th, 2007

04
Apr
07

Signify

Been a long time since I blogged on serious stuff over here. So tonight I’ll give you an introduction on how to write good config files. Following is a valid sample from my production openSUSE 10.2 system:

## /etc/bash.bashrc.local
##
## System-wide aliases & env stuff that
## I've gotten used to while using Mdv...
##
## Ya better ask me whether I'm sure or not
## before ya delete, move or overwrite stuff
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
##
## Haha, there are colors everywhere...
alias grep='grep --color'
##
## Root's ls is freaking moronish cuz it displays
## hidden files by default, so I'm killing that
## by first unaliasing and then putting a
## replacement highly super-geeky alias.
unalias ls
alias ls='ls -F --show-control-chars --color=auto'
##
## Hiya, this is what a prompt should look like!!
PS1='[\u@\h \W]\$ '
##
## I'm really smart you see. Yay!!

Notice how everything out there is sufficiently commented. Commenting stuff in these nifty config files is for helping yourself realize (in some future time) how smart you always have been when it came to writing good config files. Of course, the last comment on your smartness is real important too. Adios!!

P.S. –> The dashes (–) are supposed to be two hyphens (- -, w/o the space in between). WordPress thinks it’s too smart and interprets it as dashes. Some fecking SMARTASS it sure is…




YouWhoo?

"I've been mad for fucking years,
absolutely years,
been over the edge for yonks,
been working me buns off for bands...

I've always been mad,
I know I've been mad,
like the most of us...
very hard to explain why you're mad,
even if you're not mad."

 

April 2007
M T W T F S S
« Mar   Jun »
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Recent Comments

Softs on What in the World?
Boudhayan Gupta on Surfin’ [Redmond,] …
Boudhayan Gupta on What in the World?
Eftikasa on What in the World?
Bugs on YouWhoo?

Blog Stats

  • 12,487 hits