In shell scripting if text is surrounded by single quotes
what does it denotes?

Answers were Sorted based on User's Feedback



In shell scripting if text is surrounded by single quotes what does it denotes?..

Answer / anushre

it means there is no command substitution or shell
interpretation inside the quoted text

Is This Answer Correct ?    4 Yes 0 No

In shell scripting if text is surrounded by single quotes what does it denotes?..

Answer / guest

All characters enclosed between a pair of single quote
marks(''), except a single quote, are quoted by the
shell. Backslash has no special meaning inside a pair of
single quotes.

'\n' "\n"

Inside double quote command substitution and filename
generation takes place

Is This Answer Correct ?    3 Yes 1 No

In shell scripting if text is surrounded by single quotes what does it denotes?..

Answer / satchi

'Single Quote' preserves all special characters within
STRING. like when we use \a \b \t inside the string in
shell script.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Shell Script Interview Questions

What is the difference between grep and egrep?

0 Answers  


What are the additional egrep symbols?

2 Answers  


What is shell prompt?

0 Answers  


What are the advantages of using shell scripts?

0 Answers  


Why is a script important?

0 Answers  


What is the use of "$#" in shell scripting?

0 Answers  


How can I Debug a shell scripts and Perl scripting?? or How do you debug a shell scripting and perl scripting ( at the compile time error or run time error) in Unix environment ?

4 Answers  


write a shell script to check whether all the directories in the path exist has read and write permission

1 Answers  


When should shell programming/scripting not be used?

0 Answers  


what is the difference between sh & bash shell?

1 Answers  


What is the use of script interpreter in shell scripting?

3 Answers  


Give some situations where typing error can destroy a program?

0 Answers  


Categories