GeekInterview.com
Home
Tech Articles
Code Samples
Learn
Freelance Projects
Online Testing
Geek Talk
Job Postings
Knowledge Base
Geek Blogs
Question Bank
Interview Questions
Certification
Placement Papers
Tech FAQ
Career Advice
Engineering
Ask Question
I am new,
Sign me up!
User Name
Remember Me?
Password
Interview Questions
Certification
Placement Papers
Tech FAQ
Career Advice
Engineering
Ask Question
GeekInterview.com
>
Interview Questions
>
Operating System
>
Shell Scripting
Next Question
Shell Scripting
| Question 1 of 47
Print
What is $*?
Total Answers and Comments:
6
Last Update: December 30, 2008
Sponsored Links
Best Rated Answer
—
Submitted by
: Muthu
Will display all the commandline arguments that are passed to the script
Above answer was rated as good by the following members:
jlanese1
June 02, 2005 07:19:08
#1
Muthu
RE: What is $*?
Will display all the commandline arguments that are passed to the script
Is this answer useful?
Yes
|
No
1
0
Overall Rating:
+1
July 05, 2005 00:55:55
#2
abhay
RE: What is $*?
Its mainly used for showing up all params.
i.e - if you execute script in following way to which we are trying to pass 4 params
./test.sh 1 hello world 2 test
and if we print inside script
echo $*
it will print
null
1 hello world 2 test
null
Is this answer useful?
Yes
|
No
July 27, 2005 16:01:48
#3
akebno
RE: What is $*?
$1: the 1st parameter
$2: the 2nd parameter
...
$*
All parameters in the command line
Is this answer useful?
Yes
|
No
July 29, 2005 08:10:55
#4
Raj
RE: What is $*?
Yes $* displays values of all positional parameters set
Is this answer useful?
Yes
|
No
May 22, 2008 05:45:45
#5
poornimay
Member Since: May 2008 Contribution: 7
RE: What is $*?
it is a questional parameter
Is this answer useful?
Yes
|
No
0
1
Overall Rating:
-1
December 30, 2008 02:32:44
#6
vidyamurali2003
Member Since: December 2008 Contribution: 9
RE: What is $*?
It contains the actual arguments passed to a shell script
Is this answer useful?
Yes
|
No
Go To Top
Sponsored Links
Related Categories
—
Shell Scripting Interview Questions
Solaris Admin Interview Questions
UNIX Interview Questions
Unix Interview Questions
Unix Programming Interview Questions
Operating System Interview Questions
Sponsored Links
About Us
-
Privacy Policy
-
Terms and Conditions
-
Contact
-
Ask Question
-
Propose Category
-
Site Updates
Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved