Advertisement
metalx1000

CAT EOF message example

Apr 5th, 2016
648
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.30 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. echo "You can use a bunch"
  4. echo "of 'echo' lines"
  5. echo "to display a message"
  6. echo "===================="
  7.  
  8. cat << EOF
  9. Or you can use cat like this.
  10. It is a bit easier this way.
  11. You don't need a bunch or quotes,
  12. and it's not calling all the echo functions.
  13. just one cat command
  14. EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement