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
What is "test"? How it is used in shell scripting?
What is the use of "$#" in shell scripting?
What is bourne shell scripting?
How are shells born?
Can we run shell script in windows?
I want to connect to a remote server and execute some commands, how can I achieve this?
How do scripts work?
What are the advantages of shell script?
What are the default permissions of a file when it is created?
What is Linux language details
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
What is the difference between running a script as ./scriptname.sh and sh scriptname.sh