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.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What language is bash written in?

947


Explain about echo command?

1046


What is the lifespan of a variable inside a shell script?

1575


how to get part of string variable with echo command only?

973


What is meant by $1 in shell script?

905


How can the contents of a file inside jar be read without extracting in a shell script?

1080


What are different types of shell?

877


How to write a function?

980


How can you find out how long the system has been running?

845


What exactly is a shell?

1014


Calculate a real number calculation directly from the terminal and not any shell script.

1150


What is the use of .sh file?

1052


What are the zombie processes?

918


How do I edit a .sh file?

1073


How do I run a script from command prompt?

997