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 |
Why do we write bin bash in shell scripts?
How would you print just the 25th line in a file using smallest shell script?
Write a shell script in Linux to shift all characters in a file forward by five characters. (Thus “a” becomes “f’”).
2 Answers Ignou, Tripura Info,
What does $1 mean in bash?
What language is shell scripting?
How to make userdefined variables to available for all other shells?
How to check if the previous command was run successfully?
Explain how you Automate your application using Shell scripting.
What is console line?
how to read systems current date and time
How to find duplicate record in file using shell script?
0 Answers IBM, Saama Tech, Wipro,
determine the output of the following command: echo ${new:-variable}