When the shell is reading the command line what is the
difference between text enclosed between
double quotes ( ” ) and text enclosed between signal quotes
( ’ )?

Answer Posted / rajeev shukla

" " is generaly used to print the value of variable
and ' ' is used to print same as given text...
for ex:-
f=rajeev
echo "file name is $f"
output:- file name is rajeev.
and
echo ' file name is $f'
output:- file name is $f

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is grep command in unix with examples?

612


What does 'mkdir' command do in UNIX?

660


What are file commands?

655


What does find command return in unix?

596


How do I search for a file in unix command?

549






What is grep short for?

558


Why is it called a shebang?

574


What is s and g in sed command?

561


What is $0 bash?

650


What is grep in bash?

589


What is a command and examples?

587


What are the commands in UNIX to list the files in a Directory?

620


What are the general commands in using unix os for a beginner?

577


What is the comma to display different lines that are found when compare two files?

595


What is ctrl d?

596