what are command line arguments? what is the need of those?



what are command line arguments? what is the need of those?..

Answer / 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

More Shell Script Interview Questions

defination of mapfile in winrunner?

0 Answers  


what is tickets $ what low,medium,high priorite pls define time also

0 Answers  


What does the sh command do?

0 Answers  


How important is shell scripting?

0 Answers  


What are the different variables present in linux shell?

0 Answers  






What is wc in shell script?

0 Answers  


Create a bash shell script to sort and then uniq the file from the command line & store it to a new file and output the results to the screen. Name this script "sortAndUniq.sh"

5 Answers  


What is a boot block?

0 Answers  


What are filters explain sort with all the options available?

0 Answers  


1.Write a script, which converts a number from binary to hexadecimal format or vice versa.

1 Answers   ADP,


What language is bash?

0 Answers  


How do I edit a .sh file?

0 Answers  


Categories