What does $# stand for?

Answer Posted / seshadri sethi

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

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write down the syntax for all the loops in shell scripting.

652


What is ms powershell?

579


What is in a script?

562


Can shell script run on windows?

559


What is sh in shell script?

572






How to pass an argument to a script?

590


What are zombie processes?

567


Determine the output of the following command: [ -z “” ] && echo 0 || echo 1

553


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

3147


Set up a Sev 2 alert when the Primary WA service fails. A windows batch script needs to be created that will monitor the WA service on the Primary and when the service stops/fails a Sev 2 TT is generated for a particular team ?

1710


What is shell geeksforgeeks?

586


How will you emulate wc –l using awk?

902


Explain about return code?

628


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

536


What is another name for a bash shell script that you might see?

1001