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...

what is difference between $@ and $* in UNIX Shell script

Answer Posted / yogesh malkoti

In a shell script :

$@: each quoated string treated as a separate argument
while gving at command line.

$*: stores the complete set of positional parameters as a
single string

Is This Answer Correct ?    45 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens to hard link when file is deleted?

870


The command ‘umask -S’

990


What is apple llvm?

960


What is the command to see on which port which service is running? And what is the difference between /etc/services file and net stat command?

944


What is Data Command?

1096


How do I clear bash history in linux?

976


Which command would you use if you want to remove the password assigned to a group?

912


How do you execute more than one command or program from a single command line entry?

928


How do I run multiple commands in linux?

1002


What are system commands?

1033


How many commands are there in linux?

1026


What is option in linux command?

1075


Why echo is used in linux?

985


In order to display the last five commands you have entered using the fc command, you would type?

902


How can you check the amount of lines in a file?

946