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.

  • sin_free_for_00_days@lemmy.one
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    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.