Operating Systems and UNIX
Assignment – IV
- Write a shell script to read year and check whether it is a leap year or not.
- Write a shell program to take a character as input and check if it is a vowel or consonant.
- Write a program to read a number and display sum of its digits.
- Write a shell script to check whether given string is palindrome or not.
- Write a script that lists files by modification time when called with lm and by access time when called with la. By default, the script should show the listing of all files in the current directory.