#!/bin/bash easy_fn() { echo $1 echo $2 } echo this is the '$1' from the command line it\'s $1 #note if I use a single apostrophe anywhere I have to escape it echo this is the '$2' from the command line it is $2 #note these 2 arguments are passwed to the function easy_fn "Function argument one" "function arg 2"