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

How can I set the default rwx permission to all users on every file which is created in the current shell?

916


What is the conditional statement in shell scripting?

661


Is shell scripting a language?

594


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

3162


Write a command sequence to find all the files modified in less than 2 days and print the record count of each.

941






What is bash eval?

553


Hello all, This is my assignment on shell scripting, can anyone help me regarding this ? Create a shell script which connects to the database In second shell script include the first script for the DB connection Create a table (PRADEEP_DATA) with 2 columns (name, value) In Third shell script include the first script for the DB connection And insert/delete the values from the Table, by accepting input from the user This functionality should be a menu driven Program: 1) Insert to the database a. Name b. value 2)Delete from the database a.Name b.value Exception handling needs to be taken care.

1862


What is difference between shell and bash scripting?

551


What is bash coding?

507


How do you create a shortcut in linux?

603


Explain about the exit command?

575


What is ms powershell?

597


What is shell scripting used for?

581


Explain how you Automate your application using Shell scripting.

1856


How to get the first line from a file using just the terminal?

605