Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 357 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 357 Bytes

30 Bash Script Examples

The original resource of source code

Executing ways

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