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.

  • onescomplement@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    On my personal computer, ~/bin has two directories within it.

    One is for my .sh files and the other contains system links to them. The system link drops off the .sh and all scripts are added to my PATH