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
Answer / hemanth
x=`cut -f4 ram.txt`
y=`cut -f5 krish.txt`
z=`expr x-y`
if (z==5)
then echo 5
else
w= `expr 5*z`
echo $w
fi
Is This Answer Correct ? | 1 Yes | 0 No |
What are the four fundamental components of every file system on linux?
What does echo $0 do?
How many prompts are available in a UNIX system?
I have 2 files and I want to print the records which are common to both.
What are the Different types of shells?
Is shell a part of kernel?
what is the difference between sh & bash shell?
What does debug script mean?
whta is the use of "exec" command?
What is basename in shell script?
What are script files?
What is the difference between a 'thread' and a 'process'?