I'm trying to jump start my Linux (Centos) knowledge and trying to understand what is "default" Shell Functions listed by declare -F
. No idea what these functions is called, I just label them as "default".
I googled it, but what I got is about scripting. Is there article which explain what are they for, where (defined in which file), purpose and usage. Or someone can give a short write-up?
From the look of it, they look like utilities.
For example; declare -f _have
PATH=$PATH:/usr/sbin:/sbin:/usr/local/sbin type $1 &>/dev/null
What is the type $1
do?
BTW, I created one from the shell prompt function App1 ()
, then { ls }
, when I check using declare -f App1
found ls had became ls --color=auto
.