The original resource of source code
The first way:
$ bash <bash-script>
The second way:
$ chmod a+x <bash-script>
$ ./<bash-script>
For example:
$ bash 01_first.sh
Hello World
$ chmod a+x <bash-script>
$ ./01_first.sh
Hello World
The original resource of source code
The first way:
$ bash <bash-script>
The second way:
$ chmod a+x <bash-script>
$ ./<bash-script>
For example:
$ bash 01_first.sh
Hello World
$ chmod a+x <bash-script>
$ ./01_first.sh
Hello World