Thank you for the contribution. It has been approved.
Suggestions for this and future bash (shell) tutorial series:
shis notbashand so if your script usesbash(2nd generation, "Bourne Again sh"), then you should be more specific and usebashin your shebang;- in essence you only created a .sh file (you could have used
touchinstead of echo'ing, but alright), showed how to run a .sh file, chmod'ed it t 755 (not explaining what those numbers mean!), you appended some text, read user input, and did some extremely trivial math additions. Of course in "part 1" of a series you need to start somewhere, but I'd like to see on this contribution that you change the "What will I learn?" to "creating, modifying and running `sh files": telling users that they will learn shell scripting is a bit misleading... - I'm looking forward to parts 2 and next of your shellscript tutorial series, but make sure to cover focused topics/concepts per tutorial and explain exactly what you are doing where, why and how.
@scipio
You can contact us on Discord.
[utopian-moderator]
Hello, your edit has been made. I tried to keep it simple because it was the first lesson because you know a little complicated language structure. The next derste mathematical operations will be a bit more complex. Thank you for your approval and your interest.