describe the escaping sequence characteres in unix



describe the escaping sequence characteres in unix..

Answer / manoj kumar kar

Escape sequence in UNIX are used when a special character
is used as a part of a string.For Example if we need to
print "hi" then if we do
echo ""hi"" it will give the output as
hi
so we have to use escape sequence \ for printing "hi"
echo \"hi\"

Here \ is the escape sequence whuich tells " is part of the
string not a special character.

Is This Answer Correct ?    21 Yes 3 No

Post New Answer

More Unix Commands Interview Questions

in UNIX,How to copy file into directory?

5 Answers  


what is the use of wild cards?

2 Answers  


what is the significance of "su" command?

3 Answers  


use of ls command

9 Answers  


what are the differences between CUI and GUI interfaces?

52 Answers   College School Exams Tests, HCL, HP, IBM, IBMR, NIIT, Talco, Wipro,






What is .sh file?

0 Answers  


How do you change your account's password?

6 Answers  


How do you repeat a command in terminal?

0 Answers  


Hi All, Can you please let me know how to grep for a particular pattern in unix. I want to print the dates from the file exp.txt. the date pattern is DD:MM:YYYY, I just want to print all the dates from the file exp.txt.

8 Answers   Concentrix, IBM, Symantec, TCS,


what is virtual machine?

2 Answers   Infosys,


What is updatedb?

0 Answers  


what do you understand bythe term 'de-mountable volumes'?

2 Answers   Infosys,


Categories