what do u mean by $#,$* in unix programming?
Answers were Sorted based on User's Feedback
Answer / vipul dalwala
$# - number of command line arguments or positional
$* - All of the positional parameters, seen as a single word
|Is This Answer Correct ?||18 Yes||2 No|
Answer / narendrasairam
$# - Number of argument passed
$* - Array of arguments given (or) passed arguments as an array
|Is This Answer Correct ?||9 Yes||0 No|
Answer / anita lohia
$# The number of command line argument
$* All the arguments on the command line
|Is This Answer Correct ?||6 Yes||0 No|
Answer / siva prasad
$#- total no of positional parameters excluding the program
$*- all the arguments excluding the program name
|Is This Answer Correct ?||3 Yes||0 No|
Answer / 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|
write a shell script to check the failed jobs?
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 ?
What are the different shells available?
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.
Please anyone suggest atleast 2 good training institutes in Hyderabad, INDIA where i can learn unix shell scripting.
How would you replace the n character in a file with some xyz?
how is the oppurtunities for unix in the software
How to declare functions in unix shell script?
What is the difference between a variable and value?
How to create environment variables?What are the conditions for creating variables?
write a non recursive shell script that accepts any number of arguments and prints them in the reverse order
What are the advantages of bash over all other shells?