i’m pretty new to the shell scripting world and not sure, if i should give my scripts a .sh or .bash extension.
not sure what the pros and cons are.
i’m pretty new to the shell scripting world and not sure, if i should give my scripts a .sh or .bash extension.
not sure what the pros and cons are.
I usually add the
.sh
to the scripts in my~/bin
folder. Just so when I go to edit them I know if they are a script or a binary or whatever.