1. Write a script to check whether a person is eligible to vote (age ≥ 18).
2. Write a script to check whether a number is a multiple of 3 and 7.
3. Write a script to check whether a year is a leap year or not.
4. Write a script to find the largest of three numbers using nested if-else.
5. Write a script to check whether a number is a prime number.
6. Write a script to calculate grade of a student based on marks:
≥ 90 → A
≥ 75 → B
≥ 50 → C
< 50 → Fail
7. Write a shell script to accept a number (1–7) from the user and display
the corresponding day of the week using a case statement.
8. Write a shell script to perform arithmetic operations (addition,
subtraction, multiplication, division) based on user choice using a case
statement.
9. Write a shell script to accept a character and determine whether it is an
alphabet, digit, or special character using a case statement.
[Link] a shell script to simulate a login system where: case statement is
used to identify the user role (admin, user, guest)
if statement is used to validate the password Appropriate access messages
are displayed based on login credentials
[Link] a shell script to simulate basic ATM operations using a menu-
driven approach (case statement).
The script should allow the user to:
Check account balance
Deposit money
Withdraw money (with balance checking using if)
Exit
[Link] a shell script to calculate the sum of first N natural numbers using a
while loop.
[Link] a shell script to display multiplication table of a given number
using a while loop.
[Link] a shell script to find the factorial of a given number using a while
loop.
[Link] a shell script to check whether a number is palindrome or not using
a while loop.
[Link] a shell script to check whether a number is prime or not using a for
loop.
[Link] a shell script to reverse a number using an until loop.
[Link] a shell script to print all odd numbers from 1 to N using an until
loop.
[Link] a shell script to find the largest digit in a number using an until
loop.
[Link] a shell script to manage system processes using a select loop. The
program should provide the following options:
Display running processes
Kill a process
Show process ID
Exit
[Link] a shell script to perform different string operations using a select
loop. The program should provide options to:
Find length of a string
Reverse the string
Convert string to uppercase
Exit
[Link] a shell script using select loop to:
Check if file exists
Check read/write/execute permission
Display file details
Exit