See the Security and Bug Fixes Section - Grub EFI Install Updates Fix Sticky


Poll: What shell do YOU use for scripting or command-line on LL?
You do not have permission to vote in this poll.
bash
88.89%
8 88.89%
csh
0%
0 0%
tcsh
0%
0 0%
fish
11.11%
1 11.11%
Other shell, or 2 shells for different purposes (please comment)
0%
0 0%
Total 9 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What shell do YOU use for scripting or command-line on LL?
#6
Quote:explicitely, because bash is the best shell but it is not the default shell in LL
 
[member=7701]kpanic[/member]
To stablish bash as your default shell you can use the cat and chsh commands. First, in your terminal type
Code:
$ cat /etc/shells


This will list all available/installed shells in your system, then use chsh to change to a different shell, say bash.
Code:
$ chsh -s /usr/bash


it will ask for your password, type it in, logout/login, open a terminal, type
Code:
$ echo $Shell
and you should see the new shell's name displayed.


[Image: 20fqgrn.jpg]

[Image: 11sh4lf.jpg]

[member=411]bitsnpcs[/member]  there's a very good book you might find quite helpful; The Linux Shell Scripting Cookbook. You can grab it here: https://gutl.jovenclub.cu/wp-content/upl...okbook.pdf

Without each others help there ain't no hope for us Smile
Need a translation service? https://www.deepl.com/es/translator
Reply


Messages In This Thread
Re: What shell do YOU use for scripting or command-line on LL? - by Moltke - 09-15-2018, 03:12 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)