Bash Scripting - Basics
Given the script
What is the output of
hello.sh with content:#!/bin/bash echo "Hello, $1!"
What is the output of
./hello.sh World?hello.sh with content:#!/bin/bash echo "Hello, $1!"
./hello.sh World?$1 which is the first argument passed to the script. Here, World is passed as the first argument.$1 with the argument.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions