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

How to open a read-only file in the shell?

0 Answers  


I want to upload a file to remote server through ftp daily.Can anyone suggest how to make a shell script for that.I hv credentials for that ftp

1 Answers  


How will you connect to a database server from linux?

0 Answers  


How to know that your remote server is ruing smoothly or not in unix?

1 Answers  


What is a file basename?

0 Answers  


is there any command to find user password?

4 Answers  


How do I debug a shell script?

0 Answers  


Can you write a script to portray how set –x works?

0 Answers  


write a scwipt that a) takes exactly one argument, a directory name. b) if the number of argument is more or less than one,print a usage message c) if the argument is not adirectory, print another message d) for the given directory, print the five biggest files and the five files that were most recently modified. e) save the output to a file called q2output.

2 Answers  


What is a scripting language simple definition?

0 Answers  


What is bash coding?

0 Answers  


Write a command sequence to find the count of each word?

0 Answers  


Categories