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 syntax of "nested if statement" in shell scripting?

1 Answers  


I want to create a directory such that anyone in the group can create a file and access any person's file in it but none should be able to delete a file other than the one created by himself.

1 Answers  


What are the types of script?

1 Answers  


What is a shell in operating system?

1 Answers  


How to customise the other shell?

2 Answers   Quest,


Hi, I want to practise Unix korn shell scripting which i learnt 2 yr bfr. plz suggest software i can use to practise.

1 Answers  


What is the purpose of scripting?

1 Answers  


What command needs to be used to take the backup?

1 Answers  


How do I edit a .sh file?

1 Answers  


What are the default permissions of a file when it is created?

1 Answers  


What does echo $0 do?

1 Answers  


How do you schedule a command to run at 4:00 every morning?

5 Answers   Wipro,


Categories