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 |
What is an inode block?
How many prompts are available in a UNIX system?
how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?
How do you rename the files(*.sh) with file names containing space in it?for example "interview question.sh" needs to rename to "interview-question.sh". Appreciate your inputs.Thanks.
What is MUTEX?
What is the basic difference you find between a shell script and perl?
What can scripts do?
Create a bash shell script that reads a line from the user consisting of 5 words and then prints them out in reverse order. Name this script "reverse.sh"
How do I run a script from command prompt?
What is the syntax of while loop in shell scripting?
Determine the output of the following command: [ -z “” ] && echo 0 || echo 1
How to write a function?