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

How does ls command work?

567


What is inside a seashell?

619


Write a command sequence to find the count of each word?

517


How do I open a jshell in cmd?

572


How do you find out What is your shell?

566






How will you find the 99th line of a file using only tail and head command?

1950


What is the difference between grep and egrep?

587


What are scripts in psychology?

566


Which scripting language is best for automation?

514


How to find all the files modified in less than 3 days and save the record in a text file?

595


Why is used in shell scripting?

538


What is a program shell?

549


What does it mean to debug a script?

551


Why is it called a shell?

485


What is .sh file in mac?

536