Escaping Special Characters

Education is not limited to just classrooms. It can be gained anytime, anywhere... - Ravi Ranjan (M.Tech-NIT)

Escaping Special Characters ()

Escaping characters are used to enable the use of control characters in the shell expansion but without interpreting it by the shell.

Example:

echo this    is    javatpoint.

Linux Escaping Special Characters

Look at the above snapshot, we have shown the use of some special characters.


Ending A Line ()

A backslash when used at the end of a line, will direct you to the next line. The shell doesn't interpret the escaping character and wait for the execution until a new line ends without a backslash.

Linux Escaping Special Characters2

Look at the above snapshot, all the lines are ended with a backslash ().