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

What are reported commands?

1131


How many unix commands are there?

1158


Explain mount and unmount command.

1225


What difference between cmp and diff commands?

1304


What command is used to switching between users in unix?

1082


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

2267


Give the command for finding the current date.

1114


Why is it called grep?

1030


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

1187


Differentiate cat command from more command.

1151


Explain command to show the space allocation of files?

1126


What does the command '$ls | wc –l > file1' do?

1233


Write a command to kill the last background job?

1104


What does pipe () return?

1075


What is nr in awk command?

1206