What is EOF!! in the bash script?

后端 未结 5 1635
萌比男神i
萌比男神i 2021-02-13 12:08

There is a command I don\'t understand:

custom_command << EOF!!

I want to ask what EOF!! is in the bash script. I did find EOF with googl

5条回答
  •  日久生厌
    2021-02-13 13:01

    The bash manual lists this under "Event designators", saying:

    !!

    Refer to the previous command. This is a synonym for !-1`.

    I simply searched for "bash manual double exclamation".

提交回复
热议问题