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

how can you execute the shell scripts?

4 Answers  


What is Linux language details

0 Answers   Quick Heal,


Write a shell script that adds two numbers if provided as the command line argument and if the two numbers are not entered throws an error message.

0 Answers  


What is the difference between a shell variable that is exported and the one that is not exported?

6 Answers  


what is tickets $ what low,medium,high priorite pls define time also

0 Answers  






What are the types of script?

0 Answers  


Is cmd a shell?

0 Answers  


Script S1 (which copies .dat files from one directory1 to another directory2) run continuously. Write Script S2 which kills S1 first, compresses all .dat files in directory1 and directory2 successfully, re-run Script S1 and stops self i.e. S2.

2 Answers   IBM, TCS,


What are the 4 basics of OOP?

1 Answers   Amazon, Infosys,


What is the use of "shift" command in passing parameters?

1 Answers  


What are the disadvantages of shell scripting?

0 Answers  


is this growing field and what is average package in this?

0 Answers  


Categories