8
/bin/cat <<EOM >$FILE

What is EOM (and EOF) meaning ,i try to find out with google and it cant give me answer.

Álvaro González
  • 142,137
  • 41
  • 261
  • 360
Warit Wirunkawat
  • 99
  • 1
  • 1
  • 3
  • Welcome to Stack Overflow. You can format source code with the [Code Sample `{}`](https://i.imgur.com/3ppJhiE.png) toolbar button—I've done it for you this time. You also have a preview pane right below the editor so you can see how changes look like before you publish them. – Álvaro González May 02 '17 at 15:34
  • 2
    Search for "here documents". – choroba May 02 '17 at 15:34
  • 7
    Short answer: it doesn't mean anything the shell cares about. It's just a marker you'll type later. You could type `PINKUNICORNS` and it would still work. – Álvaro González May 02 '17 at 15:36
  • 11
    My suggestion is: ``EOM`` = End of Message and ``EOF`` = End of File. As @ÁlvaroGonzález stated, they are just marker. – jerik May 02 '17 at 16:01

0 Answers0