Home » Linux Escaping Special Characters

Linux Escaping Special Characters

by Online Tutorials Library

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:

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 ().

You may also like