How to calculate the number of passed arguments?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Shell Script Interview Questions

What are the different types of variables used in shell script?

0 Answers  


What is batch file programming?

0 Answers  


write a shell script to emulate the Id command of PRIMOS which lists files and directories. It list files first with a header FILES and then directories with a header DIRECTORIES. This command has several options. The main ones are. -file select files only -dir select directories only -reverse sort in reverse order -no_header put no header on the output -brief output the header only -size display the size of each file -help display Id´s syntax and options.

0 Answers  


What are filters explain sort with all the options available?

0 Answers  


What language is used in terminal?

0 Answers  






Write a shell program to test whether a given number is even or odd?

8 Answers  


Is shell scripting difficult?

0 Answers  


How do you read arguments in a shell program - $1, $2 ..?

4 Answers  


what is the difference between sh & bash shell?

1 Answers  


How to find all the files modified in less than 3 days and save the record in a text file?

0 Answers  


Hi, i want to zip the files that generates automatically every few minutes (files generated are in .arc extension)....any body write a script for this... thanks in advance

5 Answers   HP,


write a shell script to find the largest number from 3 given numbers.

6 Answers  


Categories