I can define and print the contents of variable called my_var like this:
my_var="hello"
echo $my_var
but if I define:
my_funct {echo "hello";}
how can I recall my function's definition later on?
bashenvironment-variablesfunctions
I can define and print the contents of variable called my_var like this:
my_var="hello"
echo $my_var
but if I define:
my_funct {echo "hello";}
how can I recall my function's definition later on?
Best Answer
With the
type
command: