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 |
How to write a function?
What is a boot block?
How will you find the 99th line of a file using only tail and head command?
How to enable the shell to know what program should be run to interpret the script?
What is "test"? How it is used in shell scripting?
How to create environment variables?What are the conditions for creating variables?
How to change our default shell?
i have 2 tables 4 colums table 1 respective values a1 6, a2 8,a3 9,a4 14 & table 2 respective values a1 6, a2 8, a3 9, a4 12. if compare 2 tables 3 colums values same then 4th column values 1)Qes diff >5 then (5 * diff value ) 2)Qes diff <5 the 5 3)Qes diff 5 then 5 print respective values..
c program which behaves like a shell(command interpreter). it has its own prompt say "NewShell$".any normal shell command is executed from your shell by starting a child process to execute a system program corrosponding to the command
What is bash used for?
What are the types of script?
What is a beat in a script?