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 and shell script?

1087


What language is shell scripting?

987


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

1121


How do we delete all blank lines in a file?

1065


how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?

4032


c program to implement unix/linux command to block the signal ctrl-c and ctrl-\ signal during the execution ls -l|wc -l

3720


How to use arguments in a script?

1056


write a shell script to check the failed jobs?

4366


Why is it called a shell?

897


Explain about "s" permission bit in a file?

1016


How are shells born?

926


What are zombie processes?

985


Devise a script that takes file name as arguement(which must present in the current directory)and locates from your home directory tree all thpath names of its links.Then mail the list to self.

2164


How to calculate the number of passed arguments?

1024


What are types of shells?

986