Developing bash scripts lets you do a lot of work with little or no effort. This bash command cheat sheet will help you get started. Developing scripts in bash (short for Bourne-Again SHell) can be a ...
I would open both scripts with vi so you can see control codes, something is getting messed up, and make sure when you are typing it in at the command line that you are typing it, not copying and ...
Here are steps you can take to ensure that your bash scripts work as intended and are easy to update. Committing routine and even rarely required tasks to scripts is almost always a big win because ...