Laspocbc
Laspocbc
RGPV (DIPLOMA WING) BHOPAL OBE CURRICULUM FOR THE COURSE FORMAT-3 No. 1/3
Course
Course Code
Name
LINUX AND SHELL PROGRAMMING
Understand basics of Unix Operating System and File System. (Hrs) (Mark
Course Outcome 1 s)
Running Commands, Some Simple commands list basic commands, Getting Help,
Contents The whatis command, The – help Option, Reading Usage Summaries.
File Editors
Contents
Editors are used to create and amend files.
Emacs, ex, edit, gedit, nedit, xemacs, emacs, dtpad, pico, vi,
Compressed files
Files may be compressed to save space.Compressed files can be created
and examined.
Compress, uncompress, zcat, zcmp, zdiff, zmore, tar, zip, unzip, gzip, gunzip,
bzip2, bunzip2.
Text Processing
vi: Opening, Modifying, saving and exiting vi text editor, mode of vi. Viewing file
contents, sorting text, Eliminating Duplicate lines, Comparing files, Compressing
the file,Introduction to gedit.
Method Of Assessment END SEM THEORY (EXTERNAL)
The contents of files can be compared and altered with the following commands.
Contents Awk, cmp, comm, cut, diff, expand, unexpand, gawk, Join, look, paste, sed, sort,
split, tr, uniq, wc.
Host name, disk partitions & sizes, users, kernel. Backup and restore
Contents files,Utility in GUI, reconfiguration hardware with kudzu.
Method of Assessment TERM WORK- ASSIGNMENT (INTERNAL)
Bhopal OUTCOME C 0 4 4 0 4 1 1 4
COURSE NAME LINUX AND SHELL PROGRAMMING
CO-1
Understand basics of Unix Operating System and File System.
Description
LO-1 Description Discuss the history and development of Linux Operating System.
SCHEME OF STUDY
Teaching –Learning Description of T-L Teach Pract.
S. No. Learning Content LRs Required Remarks
Method Process Hrs. /Tut Hrs.
1. Traditional Lecture Teacher will explain 6 - Handout
Unix Operating method + Handout the contents and
System, Understanding provide handouts to
Open Source, Linux students.
Origins, Distributions,
Linux Principles, linux
vs windows.
SCHEME OF ASSESSMENT
Maximum External /
S. No. Method of Assessment Description of Assessment Resources Required
Marks Internal
CO LO
SCHEME FOR LEARNING Branch Code Course Code
Code Code
RGPV (Diploma Wing ) Bhopal
OUTCOME C 0 4 4 0 4 1 3
Format No. 4
COURSE NAME LINUX AND SHELL PROGRAMMING
CO-1 Description Understand basics of Unix Operating System and File System.
LO-3 Description Explain Linux File System.
SCHEME OF STUDY
Teaching –Learning Description of T-L Teach Pract.
S. No. Learning Content LRs Required Remarks
Method Process Hrs. /Tut Hrs.
Linux File Hierarchy Traditional Lecture Teacher will explain the - Handout
Concepts, Some method contents.
Important Directories,
Current Working
Directory, File and
Directory Names,
Absolute and Relative
Pathnames, command
related to files and
directory Changing
Directories, Listing
Directory Contents,
Copying, Moving,
Renaming, Creating
and Removing Files &
Directories,
Determining File
Content.
Partitions and File
system, I-nodes,
Directories, Hard Links,
Symbolic ( or soft)
Links, The Seven
Fundamental File
types, Checking Free
Space, mounting &
unmounting File system
, working with
etc/fstabe, Archiving
Files, Compressing,
Creating, Listing and
Extracting File, Other
Archiving Tools.
SCHEME OF ASSESSMENT
Maximum External /
S. No. Method of Assessment Description of Assessment Resources Required
Marks Internal
CO-2 Description Understanding the basic set of commands and utilities in Linux systems.
LO-4 Description Use basic commands of files and directories.
SCHEME OF STUDY
Teaching –Learning Description of T-L Teach Pract.
S. No. Learning Content LRs Required Remarks
Method Process Hrs. /Tut Hrs.
Running Commands, Traditional Lecture Teacher will explain the 8 Lab Manual
Some Simple method + Handout contents and provide
commands list basic handout to students.
commands, Getting
Help, The whatis
command, The – help
Option, Reading Usage
Summaries.
Files and Directories
echo, type, bc, cal,
date, cat, cd, chgrp,
chmod, cp, file, find,
grep, egrep, fgrep,
head, just, lpq, lpr ,
lprm, cancel, ls, ls-l,
mkdir, more, page,
mv, pwd, passwd, rm,
rmdir, tail, touch.
SCHEME OF ASSESSMENT
Maximum External /
S. No. Method of Assessment Description of Assessment Resources Required
Marks Internal
15
Student will be asked to
Practical External
CO LO
SCHEME FOR LEARNING Branch Code Course Code
Code Code
RGPV (Diploma Wing ) Bhopal
OUTCOME C 0 4 4 0 4 2 5
Format No. 4
COURSE NAME LINUX AND SHELL PROGRAMMING
CO-2 Description Understanding the basic set of commands and utilities in Linux systems.
LO-5 Description Use Linux commands for file editor, compression and text processing.
SCHEME OF STUDY
Teaching –Learning Description of T-L Teach Pract.
S. No. Learning Content LRs Required Remarks
Method Process Hrs. /Tut Hrs.
File Editors Traditional Lecture Teacher will explain the 8 Handout
Editors are used to method + Handout contents and provide
create and amend files. handout to students.
Emacs, ex, edit, gedit,
nedit, xemacs, emacs,
dtpad, pico, vi,
Compressed files
Files may be
compressed to
save
space.Compress
ed files can be
created and
examined.
Compress,
uncompress, zcat,
zcmp, zdiff, zmore, tar,
zip, unzip, gzip, gunzip,
bzip2, bunzip2.
Text Processing
vi: Opening, Modifying,
saving and exiting vi
text editor, mode of vi.
Viewing file contents,
sorting text, Eliminating
Duplicate lines,
Comparing files,
Compressing the
file,Introduction to gedit.
SCHEME OF ASSESSMENT
Maximum External /
S. No. Method of Assessment Description of Assessment Resources Required
Marks Internal
CO LO
SCHEME FOR LEARNING Branch Code Course Code
Code Code
RGPV (Diploma Wing ) Bhopal
OUTCOME C 0 4 4 0 4 2 6
Format No. 4
COURSE NAME LINUX AND SHELL PROGRAMMING
CO-2 Description Understanding the basic set of commands and utilities in Linux systems.
SCHEME OF ASSESSMENT
Maximum External /
S. No. Method of Assessment Description of Assessment Resources Required
Marks Internal
Paper pen test(End
Student will be asked to 10 Test paper External
Semester Exam)
CO-3 Description Write shell programming and investigate & manage processes.
LO-8 Description Use and configure the Bash Shell.
SCHEME OF STUDY
Teaching –Learning Description of T-L Teach Pract.
S. No. Learning Content LRs Required Remarks
Method Process Hrs. /Tut Hrs.
Introduction of Bash Teacher will explain 5 - Hand out
shell, Bash Features, Traditional Lecture the contents and
Command Line, method + Handout provide handout to
Command Line students.
Expansion, and Editing,
gnome-terminal.
SCHEME OF ASSESSMENT
Maximum External /
S. No. Method of Assessment Description of Assessment Resources Required
Marks Internal
Paper pen Test
Students will be asked to 10 Test paper Internal
(Progressive-II)
CO-3 Description Write shell programming and investigate & manage processes.
LO-9 Description Write shell programming using different programming aspects.
SCHEME OF STUDY
Teaching –Learning Description of T-L Teach Pract.
S. No. Learning Content LRs Required Remarks
Method Process Hrs. /Tut Hrs.
Scripting Basics, Teacher will explain the 8 Lab Manual
Creating Shell Scripts, Traditional Lecture contents.
Handling Input/ Output, method + Handout
Control Structures,
Conditional Execution,
File and string Tests,
continue and break,
Using positional
parameters, Scripting at
the command line, Shell
Script debugging.
SCHEME OF ASSESSMENT
Maximum External /
S. No. Method of Assessment Description of Assessment Resources Required
Marks Internal
CO-3 Description Write shell programming and investigate & manage processes.
LO-10 Description Explain Process management.
SCHEME OF STUDY
Teaching –Learning Description of T-L Teach Pract.
S. No. Learning Content LRs Required Remarks
Method Process Hrs. /Tut Hrs.
Investigating and Teacher will explain the 6 Handout
Managing Process Traditional Lecture contents and provide
Process, Listing method handout to students.
Processes, Finding
Processes, Signals
Sending, Signals to
Processes, Scheduling
Priority, Altering
Scheduling Priority,
Interactive Process
management tools, Job
Control, Scheduling a
Process to execute
later, Crontab File
format. Different run
levels
SCHEME OF ASSESSMENT
Maximum External /
S. No. Method of Assessment Description of Assessment Resources Required
Marks Internal
SCHEME OF ASSESSMENT
Maximum External /
S. No. Method of Assessment Description of Assessment Resources Required
Marks Internal
SCHEME OF ASSESSMENT
Maximum External /
S. No. Method of Assessment Description of Assessment Resources Required
Marks Internal
CO LO
RGPV (Diploma Wing ) SCHEME FOR LEARNING Branch Code Course Code
Code Code
Format No.
Bhopal OUTCOME C 0 4 4 0 4 4 14 4
COURSE NAME LINUX AND SHELL PROGRAMMING
CO-4
Explain the role of system administration and network services in Linux.
Description
LO-14
Apply Linux networking concept to setup a small network.
Description
SCHEME OF STUDY
Teaching –Learning Description of T-L Teach Pract.
S. No. Learning Content LRs Required Remarks
Method Process Hrs. /Tut Hrs.
1. Traditional Lecture Teacher will explain 6 Lab Manual
Networking Services: method + Handout the contents and
Sambha, Apache, provide lab manual to
DHCP, FTP. students.
Setup a small
network in your lab
and connect to that
network Internet
Protocol Service.
These commands
are used to send
and receive files
from Campus UNIX
hosts and from
other hosts and the
Internet around the
world.
ifconfig, ping,
traceroute, netstat,
hostname,
nslookup, route,
host, arp, iwconfig,
etc.
SCHEME OF ASSESSMENT
Maximum External /
S. No. Method of Assessment Description of Assessment Resources Required
Marks Internal
Decision Making
Write Shell Program to:-
1. Read 3 numbers and find the greater of the three.
2. Display sum of two number and to do calculations such as +, -, / etc
3. Read 5 digit number and calculate the sum of digit (if number is 78215,
answer is 23)
4. Read source file and copy it to target file.
5. Read a number and find whether the number is odd or even.
6. Find out whether file has read, write and execute permission.
7. Find the validity of a given date.
8. Read a character (upper or lower), digit, special symbol and display
message according to the character entered.
9. Read any year and find whether leap year or not.
10. A menu driven Shell script which has following options: 1. Contents of
/etc/passwd 2. List of users currently logged 3. Present handling directory.
4. Exit And as per selected option do the job.
11. Shell program which gets executed the moment the user logs in, it
should display the message "Good morning", "Good Afternoon", or "Good
Evening" depending upon the time which the user logs in.
12. Read two numbers and display all the odd numbers between those two
numbers.
Miscellaneous
1. Write shell script that will add two nos, which are supplied as command
line argument, and if this two nos are not given show error and its usage.
2. Write Script to find out biggest number from given three nos. Numbers
are supplies as command line argument. Print error if sufficient arguments
are not supplied.
3. Write Script, using case statement to perform basic math operation as
follows + addition - subtraction x multiplication / division The name of script
must be 'q4' which works as follows:
$ ./q4 20 / 3, Also check for sufficient command line arguments.
4. Write Script to see current date, time, username, and current directory.
5. Write script to determine whether given file exist or not, file name is
supplied as command line argument, also check for sufficient number of
command line argument.
6. How to write script, that will print, Message "Hello World" , in Bold and
Blink effect, and in different colors like red, brown etc using echo
command. 7. Write shell script to show various system configuration like 1)
Currently logged user and his logname 2) Your current shell 3) Your home
directory 4) Your operating system type 5) Your current path setting 6) Your
current working directory 7) Show Currently logged number of users 8)
About your os and version ,release number , kernel version 9) Show all
available shells 10) Show mouse settings 11) Show computer cpu
information like processor type, speed etc 12) Show memory information
13) Show hard disk information like size of hard-disk, cache memory,
model etc 14) File system (Mounted)
8. Write shell script to convert file names from UPPERCASE to lowercase
file names or vice versa.
LINUX AND SHELL PROGRAMMING
CO(S) LO(S) MARKS AND TEACHING HOUR(S) ALLOTMENT