introduce parameters to programs in unix code example
Example 1: introduce parameters to programs in unix
$ function_name ram
hello ram
Example 2: introduce parameters to programs in unix
function_name()
{
echo “hello $1”
return 1
}
$ function_name ram
hello ram
function_name()
{
echo “hello $1”
return 1
}