We're a community of 1.1M IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,080,470 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Meaning of some strange keys

This is the question appeared in our sessional exam related to shell programming

What do you mean by $?,$#,$* and $$.

Can anyone help me to answer this question?

4
Contributors
5
Replies
1 Day
Discussion Span
1 Year Ago
Last Updated
6
Views
niyasc
Light Poster
40 posts since Sep 2009
Reputation Points: 7
Solved Threads: 1
Skill Endorsements: 0

They are bash variables. Look for 'special parameters' here.

L7Sqr
Practically a Posting Shark
866 posts since Feb 2011
Reputation Points: 253
Solved Threads: 155
Skill Endorsements: 7

How can I write the answer in simple words?

niyasc
Light Poster
40 posts since Sep 2009
Reputation Points: 7
Solved Threads: 1
Skill Endorsements: 0

They are "special parameters" available in all Bourne-type shells.

See the man page of your shell for more details.

cfajohnson
Junior Poster
196 posts since Dec 2008
Reputation Points: 25
Solved Threads: 23
Skill Endorsements: 0

How can I write the answer in simple words?

Did you follow the link I provided? Did you look on the resulting page for the text I suggested? Some initiative on your part is expected.

L7Sqr
Practically a Posting Shark
866 posts since Feb 2011
Reputation Points: 253
Solved Threads: 155
Skill Endorsements: 7

nice post

adrianfrederic
Newbie Poster
Banned
2 posts since Feb 2012
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page generated in 0.0726 seconds using 2.6MB