0% found this document useful (0 votes)
2 views2 pages

Unix Practical Lab Questions Paper

The document outlines a series of tasks for writing shell scripts, including printing prime numbers, reversing numbers, checking for palindromes, calculating factorials, and performing file operations. It also includes menu-driven programs to demonstrate zombie and orphan processes, as well as pattern matching and character case conversion. Each task is presented in a numbered format, indicating a variety of programming challenges related to shell scripting.

Uploaded by

pp4862570
Copyright
© All Rights Reserved
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% found this document useful (0 votes)
2 views2 pages

Unix Practical Lab Questions Paper

The document outlines a series of tasks for writing shell scripts, including printing prime numbers, reversing numbers, checking for palindromes, calculating factorials, and performing file operations. It also includes menu-driven programs to demonstrate zombie and orphan processes, as well as pattern matching and character case conversion. Each task is presented in a numbered format, indicating a variety of programming challenges related to shell scripting.

Uploaded by

pp4862570
Copyright
© All Rights Reserved
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

1) Write a shell script to print all the prime members between M and

N (M<N)
2) Write a Menu-driven program to demonstrates the Zombie process
and Orphan process

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


is a polindrome
2) Write a shell script to find factorial of a number

1) Write a shell script to find the sum of digits of a given number


using loops and without using loops
2) Write a shell script to accept a word and perform pattern matching
in a given files

1) Write a shell script to implement 10 -Linux command using case


2) Write a shell script to convert upper case characters to lower caste
and vice versa

1) Write a shell script the 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 count the number of Vowels in a string

1) Write a shell script to copy file within the current directory


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 create two data files and compare them to
display unique and common entries
2) Write a shell script to print all the prime members between M and
N (M<N)
1) Write a shell script to count the number of Vowels in a string
2) Write a shell script to reverse a given number and check whether
it is a polindrome
1) Write a shell script to convert upper case characters to lower
caste and vice versa
2) Write a shell script to find the sum of digits of a given number
using loops and without using loops

1) Write a shell script to accept a word and perform pattern matching


in a given files
2) Write a shell script to implement 10 -Linux command using case

1) Write a shell script to find factorial of a number


2) Write a shell script the displays a list of all the files in the current
directory to which the user has read, write and execute permissions

1) Write a Menu-driven program to demonstrates the Zombie


process and Orphan process
2) Write a shell script to copy file within the current directory

You might also like