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 |
Explain about sourcing commands?
What is the need of including script interpreter in your shell script?
What is shell scripting used for?
How to find all the files modified in less than 3 days and save the record in a text file?
write a shell script that counts a number of unique word contained in the file and print them in alphabetical order line by line?
i have 2 tables 4 colums table 1 respective values a1 6, a2 8,a3 9,a4 14 & table 2 respective values a1 6, a2 8, a3 9, a4 12. if compare 2 tables 3 colums values same then 4th column values 1)Qes diff >5 then (5 * diff value ) 2)Qes diff <5 the 5 3)Qes diff 5 then 5 print respective values..
What is shell application?
Hi, i want to zip the files that generates automatically every few minutes (files generated are in .arc extension)....any body write a script for this... thanks in advance
How to check if the previous command was run successfully?
c program to check whether all the directories in the path exists has read and write permission
How to make userdefined variables to available for all other shells?
What is egrep?