How do you escape a double quote in bash?

Ngô Thị Vân

New member
How do you escape a double quote in bash?
Answer
Backslashes preceding characters without a special meaning are left unmodified. A double quote may be quoted within double quotes by preceding it with a backslash. If enabled, history expansion will be performed unless an ‘ ! ‘ appearing in double quotes is escaped using a backslash.
 

Tìm kiếm

Back
Top