Javatpoint Logo
Javatpoint Logo

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






Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA