Jump to content

Echo and printf

From Squishu Wiki

General

  • If you want echo to delete the trailing new line, use printf
  • You could try echo -e, not all shells let you do that
  • If you are only every using bash you can do echo -n to suppress the new line