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 |
What is {} in find command?
How to redirect standard error to a file?
What does the command '$ls | wc –l > file1' do?
what is the use of "grep" command?
What does find command return in unix?
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:
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?
Which command is used to restrict incoming messages?
Where can I get the free download of Unix by Yeswant Kanetkar?
What is used to type command?