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

Unix Lab Syllabus

The document outlines a series of tasks for writing shell scripts, including generating prime numbers, reversing numbers, summing digits, implementing Linux commands, managing file permissions, copying files, comparing data files, counting vowels, converting character cases, performing pattern matching, calculating factorials, and demonstrating process types. Each task specifies a unique functionality to be implemented in the shell scripts. The tasks range from basic operations to more complex programming concepts.

Uploaded by

charancm
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)
2 views1 page

Unix Lab Syllabus

The document outlines a series of tasks for writing shell scripts, including generating prime numbers, reversing numbers, summing digits, implementing Linux commands, managing file permissions, copying files, comparing data files, counting vowels, converting character cases, performing pattern matching, calculating factorials, and demonstrating process types. Each task specifies a unique functionality to be implemented in the shell scripts. The tasks range from basic operations to more complex programming concepts.

Uploaded by

charancm
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

1. Write a shell script to print all the prime numbers between M to N (M<N).

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


palindrome.

3. Write a shell script to find the sum of digits of a given number using loops
and without using loops.

4. Write a shell script to implement 10 Linux commands using case.

5. 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?

6. Write a shell script to copy a file within the current directory

7. Write a shell script to copy file between two directories

8. Write a Shell script to create two data files and compare them to display
unique and common entries.

9. Write a shell script to count the number of vowels in a string.

10. Write a shell script to convert uppercase characters to lowercase and


vice versa.

11. Write a shell script to accept a word and perform pattern matching
in a given file.

12. Write a shell script to find the factorial of a number

13. Write a Menu-driven program to demonstrate the zombie process


and orphan process.

You might also like