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 is echo in shell?

1117


Explain about the slow execution speed of shells?

1234


Explain about return code?

1087


What is bash used for?

1018


What are the different variables present in linux shell?

1113


What is the syntax of "nested if statement" in shell scripting?

1104


I have 2 files and I want to print the records which are common to both.

1167


What is the significance of $#?

1109


What is the use of "$#" in shell scripting?

1075


What is the syntax of while loop in shell scripting?

1051


Write down the syntax for all the loops in shell scripting.

1147


Why is it called a shell?

938


Which shell is the best?

1003


What does $@ mean in shell?

1048


What is basename in shell script?

1062