what do u mean by $#,$* in unix programming?

Answer Posted / vipul dalwala

$# - number of command line arguments or positional
parameters

$* - All of the positional parameters, seen as a single word

Is This Answer Correct ?    18 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What lives in a shell?

626


How to open a read-only file in the shell?

720


What are script files?

626


Explain about stdin, stdout and stderr?

713


Explain how you Automate your application using Shell scripting.

1925






How to get the 3rd element/column from each line from a file?

781


What does it mean by #!/Bin/sh or #!/Bin/bash at the beginning of every script?

654


What is a command line shell?

647


What is in a script?

642


Given a file find the count of lines containing the word "abc".

1119


Calculate a real number calculation directly from the terminal and not any shell script.

740


Why do we write bin bash in shell scripts?

612


What is shell environment?

621


What is console line?

659


What is an sh file?

635