background preloader

Bash

Facebook Twitter

Pass arguments into a function - Linux Shell Scripting Tutorial - A Beginner's handbook. Shell functions have their own command line argument.

Pass arguments into a function - Linux Shell Scripting Tutorial - A Beginner's handbook

Use variable $1, $2.. $n to access argument passed to the function. The syntax is as follows:

Date

Stringhe. Testing and Branching. ….~Unix and Linux~….. Utili.