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 are command line arguments? what is the need of those?

Answer Posted / sumit rawat

Unix compiler reads the commands line by line and assign the arguments to it positionally. Arguments are passed from the command line into a shell program using the positional parameters $1 through to $9. Each parameter corresponds to the position of the argument on the command line.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use shell scripting?

1037


How to print the first array element?

1085


Suppose you execute a command using exec, what will be the status of your current process in the shell?

1115


What are the different communication commands available in the shell?

1011


What is awk script?

1026


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

1274


What language is shell scripting?

1068


How to print pid of the current shell?

1039


Is shell scripting easy to learn?

1070


What is bourne shell scripting?

1032


How do I stop script errors?

1203


What is the first line in a shell script?

1162


Why are shell scripts used?

1116


What is the use of .sh file?

1175


What does $1 mean in bash?

1138