0% found this document useful (0 votes)
33 views

Linux and Shell programming - Lab Syllabus

Linux and Shell programming

Uploaded by

amarhema1992
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views

Linux and Shell programming - Lab Syllabus

Linux and Shell programming

Uploaded by

amarhema1992
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Programming Lab –

Course code LINUX and SHELL L T P C


PROGRAMMING
Core/Elective/Supportive Core Lab: 5 0 0 3 2
Students should have the prior basic Syllabu 2023-24
Pre-requisite Onward
knowledge in operating system. s
Version
Course Objectives:
The main objectives of this course are to:
1. Describe the architecture and features of Linux Operating System
2. To create programs in the Linux environment using Linux utilities and commands.
3. Student is given an introduction of Linux shell commands and they will be able to write own
shell scripts.
4. Shell programming is dealt in depth which can be used to develop applications.

Expected Course Outcomes:


On the successful completion of the course, student will be able to:
1 Develop Linux utilities to perform File processing, Directory handling and
K1, K2
User Management
2 Understand and develop shell scripts using pipes, redirection, filters, Pipes and
K2-K3
display system configuration
3 Develop simple shell scripts applicable to file access permission network
K3
administration
4 Apply and change the ownership and file permissions using advance
K4-K5
Unix commands.
5 Create shell scripts for real time applications. K6
K1 - Remember; K2 - Understand; K3 - Apply; K4 - Analyze; K5 - Evaluate; K6 - Create

Programs 36 hours
1. Write a shell script to stimulate the file commands: rm, cp, cat, mv, cmp, wc, split, diff.
2. Write a shell script to show the following system configuration :
a. currently logged user and his log name
b. current shell , home directory , Operating System type , current Path setting ,
current working directory
c. show currently logged number of users, show all available shells
d. show CPU information like processor type , speed
e. show memory information
3. Write a Shell Script to implement the following: pipes, Redirection and tee commands.
4. Write a shell script for displaying current date, user name, file listing and directories by
getting user choice.
5. Write a shell script to implement the filter commands.
6. Write a shell script to remove the files which has file size as zero bytes.
7. Write a shell script to find the sum of the individual digits of a given number.
8. Write a shell script to find the greatest among the given set of numbers using command line
arguments.
9. Write a shell script for palindrome checking.
10. Write a shell script to print the multiplication table of the given argument using for loop.

You might also like