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

Why do we write bin bash in shell scripts?

0 Answers  


How would you print just the 25th line in a file using smallest shell script?

4 Answers  


Write a shell script in Linux to shift all characters in a file forward by five characters. (Thus “a” becomes “f’”).

2 Answers   Ignou, Tripura Info,


What does $1 mean in bash?

0 Answers  


What language is shell scripting?

0 Answers  


How to make userdefined variables to available for all other shells?

4 Answers  


How to check if the previous command was run successfully?

0 Answers  


Explain how you Automate your application using Shell scripting.

0 Answers   MAHINDRA,


What is console line?

0 Answers  


how to read systems current date and time

4 Answers  


How to find duplicate record in file using shell script?

0 Answers   IBM, Saama Tech, Wipro,


determine the output of the following command: echo ${new:-variable}

0 Answers  


Categories