New favorite tool 😍

  • syd@lemy.lolOP
    link
    fedilink
    arrow-up
    1
    arrow-down
    2
    ·
    6 months ago

    Like this: ‘’’ $mv file.txt dest.txt$ failed { echo “It seems that the file.txt does not exist” } ‘’’

    • yetAnotherUser
      link
      fedilink
      arrow-up
      4
      ·
      6 months ago

      Knowing if a command failed and capturing stderr (which contains stuff like error messages) are not the same thing.