0% found this document useful (0 votes)
737 views3 pages

Linux Syllabus

Uploaded by

C.RadhiyaDevi
The document discusses Linux and shell programming. It covers topics like introduction to Linux OS, managing files and directories, creating files using vi editor, securing files, automating tasks using shell scripts, using conditional execution in shell scripts, and managing repetitive tasks using shell scripts.

Copyright:

© All Rights Reserved

Available Formats

Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
0% found this document useful (0 votes)
737 views3 pages

Linux Syllabus

Uploaded by

C.RadhiyaDevi
The document discusses Linux and shell programming. It covers topics like introduction to Linux OS, managing files and directories, creating files using vi editor, securing files, automating tasks using shell scripts, using conditional execution in shell scripts, and managing repetitive tasks using shell scripts.

Copyright:

© All Rights Reserved

Available Formats

Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 3

LINUX AND SHELL PROGRAMMING

UNIT I: Introduction to LINUX Operating System: Introduction - The LINUX Operating System.

UNIT II: Managing Files and Directories: Introduction Directory Commands in LINUX File
Commands in LINUX.

UNIT III: Creating files using the vi editor: Text editors The vi editor. Managing Documents:
Locating files in LINUX Standard files Redirection Filters Pipes.

UNIT IV: Securing files in LINUX: File access permissions viewing File access permissions
Changing File access permissions. Automating Tasks using Shell Scripts: Introduction Variables- Local
and Global Shell variables Command Substitution

UNIT V: Using Conditional Execution in Shell Scripts: Conditional Execution The caseesac
Construct. Managing repetitive tasks using Shell Scripts: Using Iteration in Shell Scripts The while
construct until construct for construct break and continue commands Simple Programs using Shell
Scripts.

TEXT BOOK:
1. Operating System LINUX, NIIT, PHI, 2006, Eastern Economy Edition.

REFERENCE BOOK:
1. Richard Petersen, Linux: The Complete Reference, Sixth Edition, Tata McGraw-Hill Publishing
Company Limited, New Delhi, Edition 2008.
Subject

CORE LAB 5: LINUX AND SHELL PROGRAMMING LAB

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.

Table of Contents

Introduction
1. Introduction to the Linux Operating System
2. Installing Red Hat Linux
3. Managing Files and Directories
4. Creating Files Using the vi Editor
5. Managing Documents
6. Securing Files in Linux
7. Automating Tasks Using Shell Scripts
8. Using Conditional Execution in Shell Scripts
9. Managing Repetitive Tasks Using Shell Scripts
10. Controlling Process Execution
11. Backing up, Restoring and Compressing Files
12. Basic Networking Commands in Linux
13. Working in GNOME
14. K Desktop Environment
15. Installing Packages
16. Administering Printers
Appendix

http://www.freeos.com/guides/lsst/ch08.html

You might also like