escaping special characters escaping special characters The - TopicsExpress



          

escaping special characters escaping special characters The backslash \ character enables the use of control characters, but without the shell interpreting it, this is called escaping characters. [paul@RHELv4u3 ~]$ echo hello \; worldhello ; world[paul@RHELv4u3 ~]$ echo hello\ \ \ worldhello world[paul@RHELv4u3 ~]$ echo escaping \\\ \#\ \&\ \\ \escaping \ # & [paul@RHELv4u3 ~]$ echo escaping \\\?\*\\escaping \?* end of line backslash Lines ending in a backslash are continued on the next line. The shell does not interpret the newline character and will wait on shell expansion and execution of the command line until a newline without backslash is encountered. [paul@RHEL4b ~]$ echo This command line \> is split in three \> partsThis command line is split in three parts[paul@RHEL4b ~]$ ift.tt/1dT2p5R
Posted on: Fri, 08 Nov 2013 22:33:27 +0000

Trending Topics



Recently Viewed Topics




© 2015