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

I want to connect to a remote server and execute some commands, how can I achieve this?

0 Answers  


how to read systems current date and time

4 Answers  


Hi All, Is it possible to create one file name only space or space in file name in UNIX and we can able to run that on Unix?

2 Answers   Cap Gemini,


Why are shell scripts used?

0 Answers  


How to redirect both standard output and standard error to the same location?

0 Answers  






Is powershell a language?

0 Answers  


What is the difference between grep and egrep?

0 Answers  


What are the advantages of shell scripting?

0 Answers  


What is shell application?

0 Answers  


How to add some content in any file at some desired location without using VI or some other editor in UNIX

2 Answers  


How are shells born?

0 Answers  


How can you get the value of pi till a 100 decimal places?

0 Answers  


Categories