Thursday, 6 July 2017

How to Pass Arguments to a Bash-Script

You can write a bash script such that it receives arguments specified when the script is called from the command line. This method is used when a script has to perform a slightly different function depending on the values of input parameters (the arguments).

For example, you may have a script called "stats.sh" that performs a par

Read More

READ Full article

creative bloq . 2017 Copyright. All rights reserved.