Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Name the various commands that are used for the user information in unix.

1023


What does the command ' $who | sort –logfile > newfile' do?

1243


What will the following command do?

1073


What do know about tee command and its usage?

1127


What is merge command in unix?

1447


Which unix command to make a new directory?

1072


What is the difference between awk and grep?

1151


What does sed command do in unix?

1120


How do I search for a file in unix command?

979


What is the use of awk command in unix?

1073


Why is it called a shebang?

1099


How do you repeat a command in terminal?

1159


Which command is used to copy files?

1125


Explain ‘library functions’ with respect to unix commands?

1118


Why is grep called grep?

1237