Displaying posts filed under

Linux

Nov
17
2009

one .profile to rule them all

I got sick of having to try to copy and make major modifications for each environment that I was in. As a consultant I sometimes have to deal with ridiculous policy driven constraints as to what software I can or cannot use. Sometimes it’s simply ignorance (like when the CTO of a company said that I could only script in a “…standard shell like BASH…” nothing obscure like KSH) but what ever the case it’s a pain when you’ve grown accustom to something as personal as your shell settings. Now I have a solution.

Oct
24
2009

why I don’t write BASH scripts

I’m constantly hounded by GNU/Linux newbies GNUbies about many things relative to scripting; Why don’t I use gawk for my awk scripts; Why don’t I use ‘[[’ instead of ‘[’ for my condition tests in shell scripts; Why don’t I use BASH for my shell scripts?. Such questions rarely come from seasoned UNIX professionals who have worked on multiple flavors of Unix. Explaining the way things work in the real world requires that the audience has an attention span beyond that of the averageI’m_pissed_at_society_and_microsoft_sucks-linux-neophyte.