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.


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

Post New Answer

More Shell Script Interview Questions

what are special characters and explain how does text varies by the usage of single quotes,double quotes and back quotes?

1 Answers  


What is the meaning of $1 in shell script?

0 Answers  


What is the default ubuntu terminal?

0 Answers  


Explore about environment variables?

0 Answers  


How can I set the default rwx permission to all users on every file which is created in the current shell?

0 Answers  






How do you debug a script?

0 Answers  


what are bootlevel in linux?which level is booting by default.

5 Answers   Symphony,


How to declare functions in unix shell script?

4 Answers  


how to read systems current date and time

4 Answers  


What are different types of shell?

0 Answers  


write a program to display all the files from the current directory which are created in particular month

6 Answers  


What can you do with powershell?

0 Answers  


Categories