The document outlines a series of shell programming exercises, each with a specific task to accomplish. It includes programs for testing numbers, file types, generating Fibonacci series, and various string manipulations. Each exercise is listed with a corresponding page number for reference.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
5 views2 pages
Shell Programming Index
The document outlines a series of shell programming exercises, each with a specific task to accomplish. It includes programs for testing numbers, file types, generating Fibonacci series, and various string manipulations. Each exercise is listed with a corresponding page number for reference.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2
SHELL PROGRAMMING
S.NO. OBJECT Pg.NO. REMARK
Write a shell program to test whether a 1. number is +ve, -ve or zero. 06
Write a shell program to test whether a
2. filename is regular file or a directory or of 07 other type. Write a shell program to list only the 3. directories in current path. 08
Write a shell program to print the greatest
4. of three numbers. 09 Write a shell program to print 12 terms of 5. Fibonacci series. 10
Write a shell program to display particular
6. message depending on the weekday... 11
Write a shell program to display common
7. message for following group of days Mon & 12 Wed, Tue& Thu, Fri & Sat and other days. Write a shell program to display today is 8. exam is BCA 2. 13 Write a shell program to wish “Good 9. Morning “or “Good Evening”. 14 Write a shell program to Swap two 10. numbers using three variables. 15
Write a shell program to accept a string
11. from the terminal and echo a suitable 16 message if it doesn’t have at least 9 characters. Write a shell program to accept a string 12. from the terminal and echo a suitable 17 message if it doesn’t have at least 9 characters. Write a shell program to print enter 13. number is prime number or not. 18
Write a shell script to find factorial of a
14. number. 19
Write a program for number odd or even
15. series. 20
16. Write a program for leap year. 21
17. Write a program for Armstrong no. or not. 22 Write a shell script to perform arithmetic 18. operation using switch case. 23