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|
What is use of "cut" command?
how to delete all the files with extension .dat rom a directory tree from root to third level in a single unix command?
In a single command how do you run the previous command in the command prompt.
In a file , how to retrieve the lines which are the multiples of 50 ? like 50,100,150th lines etc.
I Forgot My Windows Vista Password! How Can I Find My Windows Lost Password?
how to find weblogic version through linux cammand
write a scwipt that a) takes exactly one argument, a directory name. b) if the number of argument is more or less than one,print a usage message c) if the argument is not adirectory, print another message d) for the given directory, print the five biggest files and the five files that were most recently modified. e) save the output to a file called q2output.
Please anyone suggest atleast 2 good training institutes in Hyderabad, INDIA where i can learn unix shell scripting.
write a shell script that accepts name from user and creates a directory by the path name, then creates a text file in that directory and stores in it, the data accepted from user till STOP, displays the no. of characters stored in the file.Program stops if directory name is null
What are the 4 basics of OOP?
what is tickets $ what low,medium,high priorite pls define time also
What is the basic difference you find between a shell script and perl?