#!/bin/bash ## the inclass exercise to add 10 to a command line parameter ## execute as: ./inclass.sh 100 ## expected input and output is shown below ## ## ./inclass.sh 100 ## 100 ## 110 ## ## display the command line parameter echo $1 ## set a variable 'x' to 10 + the command line parameter x=$(($1+10)) ## display 'x' to the screen echo $x