What does $# stand for?

Answers were Sorted based on User's Feedback



What does $# stand for?..

Answer / guest

No of arguments passed to script

Is This Answer Correct ?    16 Yes 1 No

What does $# stand for?..

Answer / seshadri sethi

# will return the number of parameters that are passed as
the command-line arguments.

Is This Answer Correct ?    11 Yes 1 No

What does $# stand for?..

Answer / k.s.rakeshsharma

It will give how many characters we passed... :)

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Shell Script Interview Questions

How would you compare the strings in a shell script?

0 Answers  


What is the conditional statement in shell scripting?

0 Answers  


How can I Debug a shell scripts and Perl scripting?? or How do you debug a shell scripting and perl scripting ( at the compile time error or run time error) in Unix environment ?

4 Answers  


Tell something about the super block in shell scripting?

0 Answers  


What is "test"? How it is used in shell scripting?

2 Answers  






How to check if the previous command was run successfully?

0 Answers  


How do you debug a script?

0 Answers  


What is shell scripting used for?

0 Answers  


How do we delete all blank lines in a file?

0 Answers  


Create a bash shell script that reads a line from the user consisting of 5 words and then prints them out in reverse order. Name this script "reverse.sh"

1 Answers  


What are the advantages of shell scripting?

0 Answers  


I want to create a directory such that anyone in the group can create a file and access any person's file in it but none should be able to delete a file other than the one created by himself.

0 Answers  


Categories