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

What is {} in find command?

0 Answers  


How to redirect standard error to a file?

2 Answers  


What does the command '$ls | wc –l > file1' do?

0 Answers  


what is the use of "grep" command?

6 Answers   HCL,


What does find command return in unix?

0 Answers  






When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include<stdlib.h> # include <stdio.h> int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

0 Answers  


distinguish between physical addresses and logical address?

23 Answers   College School Exams Tests, CTS, Infosys, SAX, TATA, TCS,


What is the difference between Shell Programming and Shell scripting?

10 Answers   HCL, TCS, Wipro,


Who command in unix?

0 Answers  


Which command is used to restrict incoming messages?

0 Answers  


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

5 Answers  


What is used to type command?

0 Answers  


Categories