you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 6 months 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.

  • source
  • parent