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

Answer Posted / rajkapooor

$@ all quated string in command line treated as seprate
argument
$* stores all argument as a single argument

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do makefiles work?

539


You are required to restore the file memo.ben. It was backed up in the tar file MyBackup.tar. Which command would you use to do it?

532


Find command can search for files by

549


Explain shift command of linux?

577


How do I find cpu in linux?

533






What is #!/ Bin sh?

551


What is ps command in linux?

546


What is $$ in shell script?

519


What are linux commands useful?

588


Which command is used to see the online manual?

610


What is whois command in linux?

537


Explain about the command elm?

578


What is the difference between locating and locate command?

529


You want to know how many lines in the kickoff file contains ‘prize’. Which of the following commands will produce the desired results?

555


What does ls mean in linux?

583