Another little sysadmin twitch or twoOne of my little sysadmin twitches is that when I am
using
(Note the the trailing slash on the directory.) This is a safety measure: if I typo the directory name, (The difficulty is compounded by two of my habits: my shell history is
per-shell, not global, and I discard shells/windows once I'm done with
the particular thing I was using them for, which of course destroys
that shell's history. Thus if I typo the Of course I am also a strange mutant who likes having rm, mv, and cp
aliased so that they have ' (As an aside, the habit of advising new sysadmins that they should on no account do this for their own accounts because they'll screw themselves up when they work as root or whatever without it has always struck me as an exercise in masochism. The right solution is to fix your root environment so that it also has things set this way. Nor is it terribly difficult to arrange for different people to have different root environments in most situations, to accommodate co-workers with different preferences.) (One comment.)
|
These are my WanderingThoughts GettingAround This is part of CSpace, and is written by ChrisSiebenmann. * * * Atom feeds are available; see the bottom of most pages. Categories: links, linux, programming, python, snark, solaris, spam, sysadmin, tech, unix, web |