0% found this document useful (0 votes)
6 views1 page

List of Programs (Linux and Shell Programming Lab)

The document outlines a series of shell scripting tasks for a Linux and Shell Programming lab. It includes both Part-A and Part-B tasks, such as writing scripts to find prime numbers, count vowels, reverse numbers, and perform file operations. The exercises aim to enhance practical skills in shell scripting and Linux command usage.

Uploaded by

prathikmore005
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views1 page

List of Programs (Linux and Shell Programming Lab)

The document outlines a series of shell scripting tasks for a Linux and Shell Programming lab. It includes both Part-A and Part-B tasks, such as writing scripts to find prime numbers, count vowels, reverse numbers, and perform file operations. The exercises aim to enhance practical skills in shell scripting and Linux command usage.

Uploaded by

prathikmore005
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Krishnarajapura village, Shivakote post, Bangalore-89

(NAAC Accredited)

24BCA21P-LINUX AND SHELL PROGRAMMING LAB

PART-A
1. Write a shell script to print all the prime numbers between M to N (M<N).
2. Write a shell script to copy a file within current directory.
3. Write a shell script to count the number of vowels in a string.
4. Write a shell script to find factorial of a number
5. Write a shell script to find the sum of digits of a given number using loops.
6. Write a Shell script that displays list of all the files in the current directory to
which the user has read, write and execute permissions?

PART-B

1. Write a shell script to reverse a given number and check whether it is a


palindrome.
2. Write a shell script to find the sum of digits of a given number without using
loops.
3. Write a shell script to convert uppercase characters to lowercase and vice versa.
4. Write a shell script to accept a word and perform pattern matching in a given
file.
5. Write a shell script to implement 10 Linux commands using case.
6. Write a Shell script to create two data files and compare them to display unique
and common entries.

You might also like