06-13-2018, 02:00 PM
Interested to see what shell people are using for their scripting and/or command-line purposes. Thanks!
Using Linux Lite for everything now. I put it on my desktop and my laptop. Woohoo!
Poll: What shell do YOU use for scripting or command-line on LL? You do not have permission to vote in this poll. |
|||
bash | 8 | 88.89% | |
csh | 0 | 0% | |
tcsh | 0 | 0% | |
fish | 1 | 11.11% | |
Other shell, or 2 shells for different purposes (please comment) | 0 | 0% | |
Total | 9 vote(s) | 100% |
* You voted for this item. | [Show Results] |
What shell do YOU use for scripting or command-line on LL?
|
06-13-2018, 02:00 PM
Interested to see what shell people are using for their scripting and/or command-line purposes. Thanks!
Using Linux Lite for everything now. I put it on my desktop and my laptop. Woohoo!
09-12-2018, 08:38 PM
I am learning to use bash.
(09-12-2018, 08:38 PM)bitsnpcs link Wrote: I am learning to use bash. GZ man, and Vera too, of course! Shell scripting is the most powerful tool to use. And a child can learn it (with the time they use in all those 'social media' sites). Ps. To Vera: I begin the scripts with #!/bin/bash # explicitely, because bash is the best shell but it is not the default shell in LL
09-13-2018, 11:07 PM
(09-13-2018, 10:06 PM)kpanic link Wrote: [quote author=bitsnpcs link=topic=5568.msg43098#msg43098 date=1536784704] GZ woman, and Vera too, of course! Shell scripting is the most powerful tool to use. And a child can learn it (with the time they use in all those 'social media' sites). Ps. To Vera: I begin the scripts with #!/bin/bash # explicitely, because bash is the best shell but it is not the default shell in LL [/quote]
09-14-2018, 11:15 AM
There is some scripting at the end of the Linux Command Line book I use, I am not anywhere near the end yet, as I learn slowly and stop start when disrupted for long periods at a time.
I also learn from Linux Bible, need to fix virtualbox before can carry on with that. Just havent been motivated to do so yet. After these books I have the one to start titled, Linux Command Line and Shell Scripting Bible. Hopefully in some future year when/if I manage to complete those I will have a basic foundation to progress from. I use social sites such as this forum, and YouTube for music. Is it like the shebang ? Code: #!/usr/bin/env python I used in the first Python apps I made so they execute
09-15-2018, 03:12 AM
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 ![]() ![]() [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
![]() Need a translation service? https://www.deepl.com/es/translator (09-15-2018, 03:12 AM)Moltke link Wrote: [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 [member=7109]Moltke[/member] Thank You, I've grabbed it and will work through it ![]() I have done the first example in book ![]() I like it 8) do you want to make a thread for this book [member=7109]Moltke[/member] ? I had a play with the options at end of the section, and some trial/error spacing, I wasn't able to get Name and Mark in to the centre of their color blocks yet, also had to copy/paste the name character as wasn't sure how to do it in terminal - ![]() Quote:I like it 8) do you want to make a thread for this book [member=7109]Moltke[/member]? [member=411]bitsnpcs[/member] I'd love to! ![]() BTW, I just noticed there's a revisited third edition of the book published last year, the one you and I have is the second one. I don't know what the differences might be, if any though, but you can grab it here: https://coderprog.com/linux-shell-script...kbook-3rd/ Also, I found this other one and it lloks quite interesting https://www.pdfdrive.com/pro-bash-progra...88064.html
Without each others help there ain't no hope for us
![]() Need a translation service? https://www.deepl.com/es/translator
[member=7109]Moltke[/member] that will be great 8) , I understand about your connection at the moment.
Thank you for the links. ![]() It appears the third version has lots of empty space, maybe missing images. Example in Second edition I am on page 32, this is spread out and up to page 106 in the third edition. I'll work through the pro bash book too, it does look interesting as well.
09-16-2018, 02:47 PM
Quote:It appears the third version has lots of empty space, maybe missing images [member=411]bitsnpcs[/member] yes, you're right. I noticed that too. Anyway, it doesn't seem to be too many changes from the second edition, so I guess we're good using that one. ;D I just found this https://bash.cyberciti.biz/guide/Main_Page it has several examples and explanatios are quite clear. I think it's a good resource for learning scripting and bash. Hope you like it. ![]() cheers!
Without each others help there ain't no hope for us
![]() Need a translation service? https://www.deepl.com/es/translator |
« Next Oldest | Next Newest »
|