If we want to open a new shall script file on your computer then fist we just have to right click on your computer screen then just click on open terminal option where we can see the $ prompt now do as below:-
newfilename.sh
Here newfilename is the name of your shall script file and .sh is the extension of your file.
newfilename.sh
Here newfilename is the name of your shall script file and .sh is the extension of your file.