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
What is the use of the command 'ls -x chapter[1-5]' ?
How to use grep command to list find the records of a file containing 10 different strings?
What is awk good for?
How do I use grep to search for a file?
Is ‘du’ a command? If so, what is its use?
What is a command and examples?
Which command is used to copy files?
Is it inbetween or in between?
What command is used to check the current users?
What is the comma to show the space allocation of files?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
Which command is used to kill the last background job?
why metadb requires a seperate slice to create Solaris volume manager
What is the behavioural difference between cmp and diff commands?
Write a command to display a file’s contents in various formats?