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 |
how to separate the even and odd number generated from one file to two separate file i.e. even numbers in file1.txt and odd numbers in file2.txt
how is the oppurtunities for unix in the software
How to take input values from the user?
What does the sh command do?
What are the types of script?
What is the significance of the shebang line in shell scripting?
What is computer cli?
how can you execute the shell scripts?
How do I set bash as default shell mac?
What are the different kinds of loops available in shell script?
What is the basic difference you find between a shell script and perl?
determine the output of the following command: echo ${new:-variable}