I’m moving my posts from Reddit to Lemmy before delete them.

This post is from 2020-09-03.

  • samsy
    link
    fedilink
    English
    11 year ago

    I have to switch to bash first, and wonder days later, why I can’t find it (obviously) in my fish history.

    • @[email protected]
      link
      fedilink
      English
      6
      edit-2
      1 year ago

      I mean, doesn’t the script have a hash bang pointing to the bash interpreter?

      #!/usr/bin/bash
      

      Or you can just run it like:

      bash script.sh
      
        • @[email protected]
          link
          fedilink
          English
          51 year ago

          Right, of course. I already do that with Python scripts, but with bash old habits die hard, I guess. :)

      • samsy
        link
        fedilink
        English
        21 year ago

        I know, well the lazyness is strong in me. Copy and paste.