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 is cpu in linux?

519


What does uname command do?

588


Explain about the command elm?

569


Does cp overwrite?

553


Brief about FTP hostname?

595






How do makefiles work?

526


What are the basic commands for user management?

536


How do make computer faster?

531


Explain the free command.

577


How do I get to root in linux?

541


How do I find the console in linux?

540


tell me something about linux commands.

540


How do you copy in terminal?

553


What does chmod 777 do?

577


What is help command in linux?

538