To clear up some confusion you might have, let's get a definition of what scripting is in this environment.
Scripting generally is programming, but on a slightly smaller scale, and a different purpose. Programs (or applications like the web browser you are using now) consist of thousands of lines of code (perhaps written by a team) in C or Pascal or Swift, which then have to be compiled before they are useful.
We are going to use the commands available to us in the bash shell. Scripts are usually smaller projects, with a more specific job, but can still be quite complex.
All scripts begin with source code, which are commands written in a text file to perform various operations. To run or execute the commands, we can now simply refer to the file we put them in, instead of entering them individually.
And, scripts are useful right away. If you need or want more help with programming visit my Digital Knowledge Base and search for 'Programming'.
If you've spent some time working with CLI in Terminal, you may have asked 'What's the advantage to scripting?'.
Here's a few good reasons why you might consider it:
Since we're talking bash here, the commands we will be using are usually built-in commands or executable commands available to bash.
It generally means saving those commands in a file, (in a particular order), then executing that file to do the job, rather than entering the commands on the Command Line.
A good understanding of the commands available to you is essential - how do you ask for a coffee if you don't know the language?
If you've gone through the links up to here, you should be ready for some real work.
User Input