bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: definite way to determine the running shell


From: Christoph Anton Mitterer
Subject: Re: definite way to determine the running shell
Date: Fri, 27 Mar 2015 20:34:39 +0100

On Fri, 2015-03-27 at 15:11 -0400, Greg Wooledge wrote: 
> OK, this is for some personal configuration management.
Well it's rather for some 1000 institute workstations,...

>   Not as part of
> a product you're deploying, etc.  As such, presumably you are not trying
> to trick yourself into breaking your own logins or shell startups.
... and you never really know what strange thins users "accidentally"
do ;)


>   So,
> just check for $BASH_VERSION and you should be all right.
Sure,... I just wanted to as, whether there's maybe a much more obvious
fool-proof solution :)



> Though, if it were me, I'd just simplify everything.  Don't use so many
> different shells, don't use such complicated aliases that you have to
> have multiple versions of them....
I personally just use bash (except for sh where it's dash)... but see
above :)


Cheers,
Chris.

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]