Arguments
ls -l /opt#!/bin/bash
echo "Welcome to the $0 script."
echo "The first two arguments are $1 and $2"./example.sh apples pears
Welcome to the ./example.sh script.
The first two arguments are apples and pearsLast updated
ls -l /opt#!/bin/bash
echo "Welcome to the $0 script."
echo "The first two arguments are $1 and $2"./example.sh apples pears
Welcome to the ./example.sh script.
The first two arguments are apples and pearsLast updated