Sunteți pe pagina 1din 8

Faculty : Ghouse

IV-CSE A -I-SEM, Linix Programming


SESSION PLANNER
S
.No

Uni
t
No

Clas
s

Topic

I
1.

L1

Introduction to Linux
operating system

2.

L2

File handling
utilities, Security by
file permissions

3.

L3

Process utilities ,Disk


utilities

4.

L4

Networking
commands

5.

L5

Filters

Session Objectives
1.By the end of the session
student will gain knowledge on
architecture of linux operating
system
2.By the end of the session
student will understand the
features and use of Linux
1.By the end of the session
student will able to create and
modify the basic file permissions
and security
2.By
the end of the session student
will able to work with the OS
level file system
1. By the end of the session
student will able to check the
running processes in the OS
2.By the end of the session
student will able to check disk
free and disk usage of the system
1. By the end of the session
student will able to connect to a
remote servers and transfer the
data using netwrking
commanmds
2. By the end of
the session student will able to
transfer files from remote system
to client system.
1.By the end of the session
student will able retrive required
lines from files.
2. By the end of the session
student will able to gain
knowledge on searching and
retriving from files

Text/
Ref
Book

T1

T1

T3

T3

T2

Date
Plann
ed

Date
Condu
cted

6.

L6

Text processing
utilities, Backup
utilities

7.

L7

Sed: scripts
,operation, addresses

8.

L8

Sed: commands,
applications

L9

Awk: execution,
fields, records,
scripts, operation,
pattern, Actions,
functions, using
commands in awk

L10

Working with the


Bourne again
shell(bash):
Introduction

L11

Shell responsibilities

L12

Pipes, input and


output redirections ,
Here document,
running a shell script,

9.

10.

11.

12.

13.

L13

The shell as a
programming
language, shell meta
characters, file name
substitutions Shell
variables

1.By the end of the session


student will able to understand
how to check current running
processes.
2.By the end of
the session student will able to
understand how to compress files
and take backup
1.By the end of the session
student will able to understand
how to edit files using sed
command
2.By the end of
the session student will able to
understand how to use addresses
1.By the end of the session
student will able to construct
commands in sed 2.By the end of
the session student will gain
knowledge on developing
applications using sed
1.By the end of the session
student will able to understand
how to develop applications
using awk 2.By the end of the
session student will able to gain
knowledge on constructing
commands in awk
1.By the end of the session
student will able to understand
how to work with bash shell
2. By the end of the session
student will able to gain
knowledge on types of shells
1. By the end of the session
student will able to understand
the Shell responsibilities
2. By the end of the session
student will able to gain
knowledge on working of shell
1.By the end of the session
student will able to understand
the use of pipes and redirection
of input, output & error
2.By the end of the session
student will able to understand
how to run a shell script
1. By the end of the session
student will able to understand
the use of shell meta characters
2.By the end of the session
student will able to create
varaibles in shell and filename

T1

T2

T1

T1

T3

T3

T3

T3

substitutions in sell

14.

15.

16.

L14

Command
substitution, shell
commands, the
environment,
quoting, test
commands

L15

Control structures,
arithmetic in shell

L16

Interrupt processing,
functions, debugging
shell scripts, shell
script examples

L17

Files: file concepts,


file system structures,
in odes

L18

File metadata, file


types

II
18.

19.

20.

21.

kernel support for


file system, file
descriptors,

L19

L20

System calls for file


I/O operations (File
APIs)- -open, creat,
read, write, close

1.By the end of the session


student will able to substitute a
command in another command.
2.By the end of the session
student will able to understand
the shell environmen and how to
set the environment
1.By the end of the session
student will able to write shell
scripts using control structures
2.By the end of the session
student will able to understand
how to use arithmetic in shell
1.By the end of the session
student will able to write shell
programs using functions
2. By the end of the session
student will able to write shell
scripts and how to debug shell
scripts
1.By the end of the session
student will able to know the
basic file structure 2.By the end
of the session student will able to
gain knowledge on storage
structure in Linux
1.By the end of the session
student will able to know data
about data in Linux file system
2.By the end of the session
student will able to understand
different file types in Linux
1. By the end of the session
student will able to get
knowledge on working of kernel
with filke system 2.By the end of
the session student will able to
Understand the use file
descriptors
1.By the end of the session
student will able to create kernel
level programs to deal with file
system I/O. 2.By the end of the
session student will able to
simulate Linux commands using

T3

T3

T3

T1,T
3

T1,T
3

T1,T
3

T1,T
3

I/O System calls

22.

L21

23.

L22

24.

L23

25.

26.

28.

29.

31.

file permissionschmod,fchmod,file
ownershipchown.lchown,fchown
links-soft links and
hard linkssymlink,link,unlink

L25

Directories- Creating,
removing and
changing, Directoriesmkdir, rmdir, chdir,

L26

obtaining
working
getcwd

L27

Directory
contents,
Scanning Directories-

L28

III

30.

file and record


locking- fcntl function

L24

II
27.

lseek,dup2, file status


information-stat
family

L29

L30

opendir,
closedir,
functions

current
directory-

readdir,
rewinddir

Process : process
concept, Layout of C
program image in main
memory

Process environmentenvironment list,


environment variables,
getenv, setenv

1.By the end of the session student


will able to Understand about file
status information
2. By the end
of the session student will able to
simulate Linux commands to check
the status of the file
1.By the end of the session student
will able to apply locks on files and
records.
2.By the end of the
session student will able to control
the files to avoid inconsistensy
1.By the end of the session student
will able to change file permissions
of files
2.By the end of the
session student will able to change
ownership of files
1. By the end of the session student
will able to create links to an
exixting files.
2. By the
end of the session student will able to
simulate Linux ln command
1.By the end of the session student
will able to cretae directories
2.By the end of the session student
will able to change directories
1.By the end of the session student
will able to check current working
directory 2.By the end of the
session student will able to check the
status of the directroies
1.By the end of the session student
will able to check contents in a
directory
1 By the end of the session student
will able to perform read and write
operations on directory
2.By the end of the session student
will able to understand the functions
of directory
1.By the end of the session
student will able to Understand
the basic concept of process
2.By the end of the session
student will able to Understand
the layout of C program
1.By the end of the session student
will able to check process
environment variables 2.By the end
of the session student will able to set
environment variables

T1,T
3

T1

T1,T
3

T1,T
3

T1

T1

T1

T1

T1

T3

32.

L31

33.

L32

34.

L33

35.

36.

37.

38.

41.
42.

Process identification,
process controlprocess creation,
replacing a process
image, waiting for a
process, process
termination
zombie process, orphan
process

L34

system cal interface for


process managementfork, vfork, exit, wait,
waitpid, exec family

L35

process groups, session


and
controlling
terminal,
differences
between threads and
processes.

L36

Signals: Introduction to
signals,
signal
generation
and
handling

L37

kernel support for


signals, signal function,
unreliable
signals,
reliable signals, kill,
raise, alarm, pause,
abort, sleep functions

L38

Inter process
communication:
introduction to IPC, ,
IPC between processes
on a single computer
system

IV

40.

Kernel support for


process

L39
L40

IPC between processes


on different systems
pipes-creation, IPC
between related
processes using
unnamed pipes

1.By the end of the session student


will able to understand the internal
kernel support for process.2.By the
end of the session student will able to
understand the flow of process in
Linux
1.By the end of the session student
will able to ientify,create a process
2.By the end of the session student
will able to replace process image
and how to terminate the process
1.By the end of the session student
will able to create a zombie process
2.By the end of the session student
will able to create an orphan process
1. By the end of the session student
will able to understand system cal
interface for process management.
2.By the end of the session student
will able to create our own processes
to deal with the system
1.By the end of the session student
will able to create process session
and terminal
2.By the
end of the session student will able to
understand the differentiate between
threads and processes
1.By the end of the session student
will able to understand basic of
signals 2.By the end of the session
student will able to understand signal
generation and handling
1.By the end of the session student
will able to understand the flow of
signals in kernel.
2.By the end of the session student
will able to understand kernel
support reliable signals,unreliable
signals
1.By the end of the session
student will able to interact with
system by using IPC.2.By the end
of the session student will able to
know process communication
between two systems
1.By the end of the session student
will able to interact with different
systems by using IPC
1.By the end of the session student
will able to create pipes for inter
process communication.
2.By the end of the session student
will able to relate processes using
unnamed pipes

T3

T3

T3

T3

T1

T1

T1

T3,T
1

T3,T
1
T3,T
3

43.

L41

44.

45.

46.

47.

48.

49.

FIFOs-creation, IPC
between unrelated
processing using
FIFOs( named pipes)

L42

differences between
unnamed and named
pipes, popen and pclose
library functions.

L43

Message queues:
kernel support for
message queues , Unix
system V APIs for
messages,

L44

client/server
examples

L45

Semaphores kernel
support for a
semaphores

L46

Unix system V APIs


for semaphores

L47

File locking with


semaphores

L48

Shared memorykernel support for a


Shared memory

50.

51.

L49

Unix system V APIs


for Shared memory

1.By the end of the session student


will able to create FIFO for inter
process communication.
2.By the end of the session student
will able to relate processes using
FIFO(named pipes)
1.By the end of the session student
will able to differentiate between
unnamed and named pipes
2.By the end of the session student
will able to Understand library
functions
1.By the end of the session student
will able to understand the flow of
message queues in kernel.
2.By the end of the session student
will able to differentiate between
unix systems and APIs
1.By the end of the session
student will able to construct
programs for client
2.By the end of the session
student will able to construct
programs for server
1.By the end of the session
student will able to understand
the flow of semaphores in kernel
2.By the end of the session
student will able to construct
programs semaphores
1.By the end of the session
student will able to differentiate
between unix systems and APIs
for semaphores
2.By the end of the session
student will able to create
semaphores for avoiding
inconsistency in the shared
locations
1. By the end of the session
student will able to create file
locks semaphores
2.By the end of the session
student will able to construct
programs semaphores
1.By the end of the session
student will able to understand
the flow shared memory in kernel
.
2.By the end of the session
student will able to construct
programs Shared memory
1.By the end of the session
student will able to differentiate

T3,T
1

T3

T3

T3

T3

T3

T3

T3

T2

53.

54.

55.

56.

57.

58.

59.

60.

L50

Semaphore and
shared memory with
examples

L51

Sockets: introduction
to Berkeley sockets

L52

IPC over a network,


Client-Server model

L53

Socket address
structures (Unix
domain and Internet
domain)

L54

socket system calls for


connection oriented
protocols and
connectionless protocol

L55

Example-client/server
programs-Single
server-client connection

L56

Example-client/server
programs-Single
server-client connection

L57

Multiple simultaneous
clients

between unix systems and APIs


for shared memory. 2.By the end
of the session student will able to
create programs to deal with
shared memory locations
1.By the end of the session
student will able to write
programs for semaphore
2.By
the end of the session student
will able to write programs for
shared memory
1.By the end of the session
student will able to Understand
basics about sockets 2. By the end
of the session student will able to
perform intre process
communication between to
systems
1.By the end of the session student
will able to understand IPC
2.By the end of the session student
will able to understand client server
model
1.By the end of the session student
will able to understand the address
structure of sockets 2.By the end of
the session student will able to
differences between unix domain and
internet domain
1.By the end of the session student
will able to understand differences
between connection oriented
protocols and connectionless
protocol
2.By the end of the session
student will able to write
programs for socket
1.By the end of the session student
will able to write client/server
programs
2.By the end of the session student
will able to connect single serverclient
1.By the end of the session student
will able to write client/server
programs
2.By the end of the session student
will able to connect single serverclient
1.By the end of the session student
will able to Understand Multiple
simultaneous clients
2.By the end of the session student
will able to connect Multiple serverclient

T2

T3

T3

T3

T3

T3 &
w1

T3

T3

61.

62.

63.

64.

L58

Multiple simultaneous
clients

L59

Socket options-set
socket

L60

fctl system calls

L61

Comparison of IPC
mechanisms.

1.By the end of the session student


will able to understand Multiple
simultaneous clients
2.By the end of the session student
will able to connect Multiple serverclient
1.By the end of the session student
will able to understand socket
options and set options 2. By the end
of the session student will able to
start a process
1.By the end of the session student
will able to Understand fctl system
calls to control the files
2.By the end of the session student
will able to connect fctl system calls
1.By the end of the session student
will able to differentiate the three
IPC mechanisms. 2.By the end of the
session student will able to identify
the best IPC mechanism

T3 &
w1

T3

T3

T3

S-ar putea să vă placă și