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

distinguish between user mode and kernel mode?

6 Answers   Infosys,


How to replace the exact word in vi editor?? suppose a file contains words like amaze,amazed,amazement in some of the line.But i want to replace only 'amaze' with delight but don't wanna replace amazed or amazement. thanks

6 Answers   Polaris, Tech Mahindra,


Where can I get the free download of Unix by Yeswant Kanetkar?

5 Answers  


Which command is used to kill the last background job?

0 Answers  


Explain iostat, vmstat and netstat.

3 Answers   CTS, Wipro,






Which command is used to restrict incoming messages?

0 Answers  


How to know a process is a zombie or orphan process?

3 Answers   Perot Systems,


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

0 Answers  


Give the command to display space usage on the UNIX file system.

6 Answers  


how unix kernel distinguishes between a normal file and device file ?

7 Answers   Google, IBM, McAfee, Vodafone,


What is "type" command in unix?what is the functionality??

2 Answers  


how to change a normal file into hidden file

3 Answers  


Categories