• feddylemmy@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      4 hours ago

      Also using cat to review a script before running it. Cat by default will interpret ANSI escape codes and it’s possible to overwrite a line and hide it. Use the -v or -A option with cat to show the ANSI escape codes rather than interpret them. Or use less, vi, nano.