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 the gcc command?

732


Why echo is used in linux?

785


How do I remove a soft link in linux?

807


Brief about the command ff?

844


Which command puts a script to sleep untill a signal is recieved?

866


Explain the linux ‘cd’ command options along with the description?

725


How do I clear terminal command history?

819


How do I search bash history?

696


How do I start ms dos?

711


What will happen when a system call is encountered in a user program?

1805


What is ulimit command?

835


What is make command in linux?

774


What does df command do in linux?

792


What is p in mkdir?

781


What is command example?

779