June 2017
Beginner
502 pages
11h 26m
English
This escape character is used to prevent the special characters interpretation by the shell. We saw an example of its usage in the previous bunch of code where we escaped \${my_input} so that the echo was able to print it literally as a string and not trying to output its value. Using \ has the same effect as surrounding a variable with single quotes, so this is a strong quotation useful to literally print the " and ' characters, which are usually interpreted as quotation characters.
Read now
Unlock full access