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 is "test"? How it is used in shell scripting?

2 Answers  


What is the use of "$#" in shell scripting?

0 Answers  


What is bourne shell scripting?

0 Answers  


How are shells born?

0 Answers  


Can we run shell script in windows?

0 Answers  






I want to connect to a remote server and execute some commands, how can I achieve this?

0 Answers  


How do scripts work?

0 Answers  


What are the advantages of shell script?

0 Answers  


What are the default permissions of a file when it is created?

0 Answers  


What is Linux language details

0 Answers   Quick Heal,


RAM one table colums a1,a2,a3,a4 respective values 2,4,7,8 KRISH one table colums a1,a2,a3,a4 respective values 3,4,6,9 IN RAM & KRISH a4 column if comparing values RAM A4 - KRISH A4 ( 8-9 =1 THEN print 5 or (RAM) a4 value 10 KRISH a4 values 2 then 10 -2 =8 print 5*8=40 or diff 5 print same

1 Answers   Tech Mahindra,


What is the difference between running a script as ./scriptname.sh and sh scriptname.sh

1 Answers  


Categories