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

Answer Posted / satyabrata

$# it contains the no of positional parameters
$* it contains all positional parameters as a single string

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you know which shell I am using?

590


How will you pass and access arguments to a script in linux?

587


What does echo mean in scripting?

592


What language is shell scripting?

581


What language is bash written in?

563






How do we create command aliases in a shell?

542


How do we delete all blank lines in a file?

577


What does $@ mean in shell?

592


c program to implement unix/linux command to block the signal ctrl-c and ctrl-\ signal during the execution ls -l|wc -l

3156


How important is shell scripting?

545


What is in a script?

571


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

644


What is mac default shell?

614


What are the zombie processes?

567


What is sh in shell script?

576