" Bash is the GNU Project's shell—the Bourne Again SHell ."
Script name, directory, present working directory
1 2 3 4 5 6 7 8 9 10 11 12 |
|
Includes the
./
when we call the script like
./my_script
, but not when calling as
sh my_script
.
See this stackoverflow post . See also this stackoverflow post .