describe the escaping sequence characteres in unix

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the functionality of a top command?

860


Differentiate cat command from more command.

819


Which command is used to restrict incoming messages?

823


Who command in unix operating system?

888


What is grep in bash?

805


What is the general format of unix command syntax?

1422


What do chmod command do?

855


What does #!/ Bin sh do?

792


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

935


hw will u use awk in replacing cahrs and files

2967


Write a command to display a file’s contents in various formats?

883


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

1238


How do I use grep to find a file?

842


What happens when we execute a unix command?

836


What do chown command do?

832