1.11M Members

Meaning of some strange keys

 
0
 

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?

 
0
 

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

 
0
 

How can I write the answer in simple words?

 
0
 

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

See the man page of your shell for more details.

 
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.

 
0
 

nice post

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article