2021年1月6日 星期三

Grave accent (`) symbol (轉貼)

 When I type Grave accent(`) symbol in terminal, It is like down below.

>
>
>

What does Grave accent(`) symbol do?

3

The '>' is displayed because the shell 'waits' for the closing quote. From the man page:

Command Substitution
       Command substitution allows the output of a command to replace the com-
       mand name.  There are two forms:
          $(command)
   or
          `command`

沒有留言:

張貼留言