• TechLich@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    17 hours ago

    If writing a lot of bash scripts, I really recommend shellcheck. It’s a linter for bash that gives a lot of good advice and points out common issues/inefficiencies and errors. There’s plugins for most editors or you can just run it in a terminal. I also like that it has good documentation that tells you why something might be wrong or inadvisable.

    https://github.com/koalaman/shellcheck