Answers for "printing arguments in a script"

0

printing arguments in a script

#!/bin/bash

# example of using arguments to a script
echo "arg 1: $1"
echo "arg 2: $2"
echo "Total number of arguments is $#"
Posted by: Guest on September-23-2021

Code answers related to "printing arguments in a script"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language