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 shell environment?

985


Write down the syntax of "for " loop

1091


How do I open the shell in cmd?

1126


What is sed in shell script?

1040


i have 2 tables 4 colums table 1 respective values a1 6, a2 8,a3 9,a4 14 & table 2 respective values a1 6, a2 8, a3 9, a4 12. if compare 2 tables 3 colums values same then 4th column values 1)Qes diff >5 then (5 * diff value ) 2)Qes diff <5 the 5 3)Qes diff 5 then 5 print respective values..

2133


What is computer cli?

893


When should shell programming/scripting not be used?

1143


What is shell scripting?

1047


Is shell scripting easy to learn?

1019


How will you find the 99th line of a file using only tail and head command?

2530


How do I run a shell script on a mac?

1117


Print a given number, in reverse order using a shell script such that the input is provided using command line argument only.

1149


Explore about environment variables?

1029


How do you know which shell I am using?

1039


What is a scripting language simple definition?

1090