Bash Scripting - User Input
What does
$1 represent in a bash script?$1 represent in a bash script?$1 refers to the first argument given after the script name.$# is the count of arguments, $0 is the script name, and $@ is all arguments.$1 = first argument [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions