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...


1.Write a script, which converts a number from binary to
hexadecimal format or vice versa.



1.Write a script, which converts a number from binary to hexadecimal format or vice versa...

Answer / pradipta

echo 'obase=16 ; ibase =2 ; binaryno'|bc #print hexadecimal
echo 'obase=2 ; ibase=16; hexa no'|bc #print binary no

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More Shell Script Interview Questions

How will you copy a file from one machine to other?

0 Answers  


What is the use of .sh file?

0 Answers  


Which shell is the best?

0 Answers  


How do you schedule a command to run at 4:00 every morning?

5 Answers   Wipro,


Explain about non-login shell files?

0 Answers  


Explain about the slow execution speed of shells?

0 Answers  


Explain about shebang?

0 Answers  


Hi Friends, I am currently Undergoing Course On Testing.I am Planning To Keep Fake Resume.Can any One tell me the ways to Prepare i.e, Real Time experience For Manual Testing. With Regards, Vikram

1 Answers  


Write a shell script to check whether a number is Armstrong number or not?

1 Answers   Flipkart,


If you have a string "one two three", which shell command would you use to extract the strings?

5 Answers  


How to debug the problems encountered in the shell script/program?

0 Answers  


What is the first line in every perl script called?

0 Answers  


Categories