Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more 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



RAM one table colums a1,a2,a3,a4 respective values 2,4,7,8 KRISH one table colums a1,a2,a3,a4 resp..

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

Post New Answer

More Shell Script Interview Questions

Suppose you execute a command using exec, what will be the status of your current process in the shell?

0 Answers  


what is the difference between cmp and diff commands

2 Answers   Amazon, CTS,


What is echo $shell?

0 Answers  


What is the need of including script interpreter in your shell script?

2 Answers  


How to print all the arguments provided to the script?

0 Answers  


What are the 4 basics of OOP?

1 Answers   Amazon, Infosys,


I have to write Shells (Linux + Unix)for publishing packages and reports. Is it possible ? What are the differents executable programs ineed to call ?

0 Answers  


write a shell script to identify the given string is palindrome or not?

17 Answers   CTS, HP, IBM, InfoEst, Wipro,


What is bash used for?

0 Answers  


What is the use of script interpreter in shell scripting?

3 Answers  


What does $# stand for?

3 Answers   IBM,


When we login into our account which files are executed?

3 Answers   Chip Quest,


Categories