Lab Practical I – BCA (II -Sem)
Linux and Shell Programming
1. Write a shell script to print all the prime numbers between M to N (M<N).
2. Write a Shell script to create two data files and compare them to display unique and
common entries.
1. Write a shell script to reverse a given number and check whether it is a palindrome.
2. Write a shell script to count the number of vowels in a string.
1. Write a shell script to implement 10 Linux commands using case.
2. Write a Shell script to create two data files and compare them to display unique and
common entries.
1. Write a Shell script that displays a list of all the files in the current directory to which the
user has read, write and execute permissions?
2. Write a shell script to accept a word and perform pattern matching in a given file.
1. Write a shell script to copy a file within the current directory
2. Write a shell script to find the factorial of a number
1. Write a Shell script to create two data files and compare them to display unique and
common entries.
2. Write a shell script to accept a word and perform pattern matching in a given file.
1. Write a shell script to count the number of vowels in a string.
2. Write a shell script to convert uppercase characters to lowercase and vice versa.
1. Write a shell script to accept a word and perform pattern matching in a given file.
2. Write a shell script to print all the prime numbers between M to N (M<N).
1. Write a shell script to find the factorial of a number
2. Write a shell script to count the number of vowels in a string.