Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what do u mean by $#,$* in unix programming?

Answers were Sorted based on User's Feedback



what do u mean by $#,$* in unix programming?..

Answer / vipul dalwala

$# - number of command line arguments or positional
parameters

$* - All of the positional parameters, seen as a single word

Is This Answer Correct ?    18 Yes 2 No

what do u mean by $#,$* in unix programming?..

Answer / narendrasairam

$# - Number of argument passed

$* - Array of arguments given (or) passed arguments as an array

Is This Answer Correct ?    9 Yes 0 No

what do u mean by $#,$* in unix programming?..

Answer / anita lohia

$# The number of command line argument
$* All the arguments on the command line

Is This Answer Correct ?    6 Yes 0 No

what do u mean by $#,$* in unix programming?..

Answer / siva prasad

$#- total no of positional parameters excluding the program
name
$*- all the arguments excluding the program name

Is This Answer Correct ?    3 Yes 0 No

what do u mean by $#,$* in unix programming?..

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

Post New Answer

More Shell Script Interview Questions

What is the syntax of "expr" command?

2 Answers  


How do I open a jshell in cmd?

0 Answers  


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

0 Answers  


How to take input values from the user?

4 Answers  


Write a shell script that adds two numbers if provided as the command line argument and if the two numbers are not entered throws an error message.

0 Answers  


What is gui scripting?

0 Answers  


Dear All, Can anybody tell me how to predefind no. of selected rows from a text file.

1 Answers   MGL,


What are different types of shell?

0 Answers  


Why is the use of shell script?

0 Answers  


Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.

0 Answers  


I have to write Shells (Linux + Unix)for publishing packages and reports. Is it possible ? What are the differents executable programs ineed to call ?

0 Answers  


What are scripts in psychology?

0 Answers  


Categories