Shell Script to add the digits of a number
Write script to print given numbers sum of all digit, For eg. If no is 123 it's sum of all digit will be 1+2+3 = 6. #!/bin/ksh n=12...
Posted by Admin on
Shell Script to reverse given no
Write script to print given number in reverse order, for eg. If no is 123 it must print as 321. #!/bin/ksh n=123 num=0 while [ n -gt...
Posted by Admin on
Shell Script to find the greatest of three number provided as command line arguments
Write Script to find out biggest number from given three nos. Nos are supplies as command line argument. Print error if sufficient argument...
Posted by Admin on
Subscribe to:
Posts (Atom)