On 03/19/2017 05:56 PM, ajohnw wrote:
>
> On leap 42.2
>
> I believe that a different shell can be invoked in a console by simply
> typing it’s name and that the default shell can be restored by typing
Yes; a shell is just a program. If you have rights to run it, then you
can do so just like any other program. This program happens to be a
shell, so it will accept more shell-like stuff until you exit it.
> it’s name or exit. There isn’t much info about this around so wonder if
> this is always true or if there are complications? In my case the added
> shell is likely to be fish and I also assume that it would have the same
> level of access to the system as bash has?
It should just work as you suspect. It is possible there will be
complications? Sure, just like with any program. You could also set it
as your user’s default shell, though if anything ever goes wrong with that
less-popular shell you will need to fix that on your own using another shell.
> The other question relates to installation. I would be inclined to use
> one click install from software search but have no idea if this will
> over ride current default shell setting or just make it available. It
Merely installing software should seldom change system, or even user,
defaults, and doing would likely be considered a bug in this case.
> also seems that fish may be installed off my user directory or at least
> can be. So where would one be put? Might turn out not to be fish but I
> assume all are installed in the same manner?
It would probably go in /usr/bin or /bin just like anything else if
installed system-wide. You could also put it in your user’s home
directory, sure, but that would be odd for a shell unless you were
developing and compiling it yourself. Packages typically put things like
shells in system locations, not user home directories.
> Taking fish as an example the software search comes up with the
> supported release, newer releases and beta’s below that. I’d be inclined
> to go for the newest as there is a beta release and wonder if there
> could be repercussions?
Sure; betas have bugs more-often than non-betas. Do you want a bug in
your shell? Perhaps have a system one you trust, and a beta one you can
play with should you really want to, and call the beta one when you feel
adventurous.
–
Good luck.
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…