Faculty : Ghouse
IV-CSE A -I-SEM, Linix Programming
SESSION PLANNER
Uni Text/ Date Date
S Clas
t Topic Session Objectives Ref Plann Condu
.No s
No Book ed cted
I 1.By the end of the session
student will gain knowledge
Introduction to on architecture of linux
1. L1 Linux operating operating system T1
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
File handling and modify the basic file
2. L2 utilities, Security permissions and security T1
by file permissions 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
Process running processes in the OS
3. L3 utilities ,Disk 2.By the end of the session T3
utilities 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
Networking
4. L4 commands
netwrking commanmds T3
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.
5. L5 Filters 2. By the end of the session T2
student will able to gain
knowledge on searching and
retriving from files
6. L6 Text processing 1.By the end of the session T1
utilities, Backup student will able to
utilities 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
Sed:
using sed command
7. L7 scripts ,operation,
2.By the end of the session
T2
addresses
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
Sed: commands,
8. L8 applications
end of the session student T1
will gain knowledge on
developing applications
using sed
1.By the end of the session
Awk: execution, student will able to
fields, records, understand how to develop
scripts, operation, applications using awk 2.By
9. L9 pattern, Actions, the end of the session
T1
functions, using student will able to gain
commands in awk knowledge on constructing
commands in awk
1.By the end of the session
student will able to
Working with the
understand how to work with
Bourne again
10. L10 shell(bash):
bash shell 2. T3
By the end of the session
Introduction
student will able to gain
knowledge on types of shells
1. By the end of the session
student will able to
understand the Shell
Shell responsibilities
11. L11 responsibilities 2. By the end of the session T3
student will able to gain
knowledge on working of
shell
1.By the end of the session
student will able to
Pipes, input and
understand the use of pipes
output
and redirection of input,
redirections , Here
12. L12 document,
output & error T3
2.By the end of the session
running a shell
student will able to
script,
understand how to run a
shell script
1. By the end of the session
The shell as a
student will able to
programming
understand the use of shell
language, shell
meta characters
13. L13 meta characters,
2.By the end of the session T3
file name
student will able to create
substitutions Shell
varaibles in shell and
variables
filename substitutions in sell
Command 1.By the end of the session
substitution, shell student will able to
14. L14 commands, the substitute a command in T3 s
environment, another command.
quoting, test 2.By the end of the session
student will able to
understand the shell
commands
environmen and how to set
the environment
1.By the end of the session
student will able to write
shell scripts using control
Control
structures
15. L15 structures,
2.By the end of the session T3
arithmetic in shell
student will able to
understand how to use
arithmetic in shell
1.By the end of the session
Interrupt student will able to write
processing, shell programs using
functions, functions
16. L16 debugging shell 2. By the end of the session
T3
scripts, shell student will able to write
script examples shell scripts and how to
debug shell scripts
1.By the end of the session
student will able to know the
Files: file
basic file structure 2.By
concepts, file T1,
18. L17 system structures,
the end of the session
T3
student will able to gain
in odes
knowledge on storage
structure in Linux
1.By the end of the session
student will able to know
data about data in Linux file
File metadata, file system T1,
19. L18 types 2.By the end of the session T3
student will able to
understand different file
types in Linux
kernel support for 1. By the end of the session
file system, file student will able to get
descriptors, knowledge on working of
kernel with filke system T1,
20. L19 2.By the end of the session T3
II student will able to
Understand the use file
descriptors
System calls for 1.By the end of the session
file I/O operations student will able to create
(File APIs)- -open, kernel level programs to
creat, read, write, close deal with file system I/O. T1,
21. L20 2.By the end of the session T3
student will able to simulate
Linux commands using I/O
System calls
lseek,dup2, file status 1.By the end of the session student
information-stat will able to Understand about file
family status information 2. By the end T1,
22. L21 of the session student will able to T3
simulate Linux commands to check
the status of the file
file and record 1.By the end of the session student
23. L22 locking- fcntl function will able to apply locks on files and T1
records. 2.By the end of the
session student will able to control
the files to avoid inconsistensy
file permissions- 1.By the end of the session student
chmod,fchmod,file will able to change file permissions
T1,
24. L23 ownership- of files 2.By the end of the
T3
chown.lchown,fchown session student will able to change
ownership of files
1. By the end of the session student
links-soft links and will able to create links to an
T1,
25. L24 hard links- exixting files. 2. By the
T3
symlink,link,unlink end of the session student will able to
simulate Linux ln command
1.By the end of the session student
Directories- Creating, will able to cretae directories
removing and 2.By the end of the session student
26. L25 changing, Directories-
T1
will able to change directories
mkdir, rmdir, chdir,
II
1.By the end of the session student
obtaining current will able to check current working
27. L26 working directory- directory 2.By the end of the T1
getcwd session student will able to check the
status of the directroies
1.By the end of the session student
Directory contents,
28. L27 Scanning Directories-
will able to check contents in a T1
directory
opendir, readdir, 1 By the end of the session student
closedir, rewinddir will able to perform read and write
functions operations on directory
29. L28 2.By the end of the session student
T1
will able to understand the functions
of directory
Process : process 1.By the end of the session
concept, Layout of student will able to
C program image in Understand the basic
main memory concept of process
30. L29 2.By the end of the session
T1
student will able to
Understand the layout of C
program
1.By the end of the session student
Process environment-
will able to check process
environment list,
31. L30 environment variables,
environment variables 2.By the end T3
of the session student will able to set
getenv, setenv
environment variables
1.By the end of the session student
III will able to understand the internal
Kernel support for kernel support for process.2.By the
32. L31 process end of the session student will able to
T3
understand the flow of process in
Linux
Process identification, 1.By the end of the session student
process control- will able to ientify,create a process
process creation, 2.By the end of the session student
33. L32 replacing a process will able to replace process image T3
image, waiting for a and how to terminate the process
process, process
termination
zombie process, orphan 1.By the end of the session student
34. L33 process will able to create a zombie process T3
2.By the end of the session student
will able to create an orphan process
1. By the end of the session student
system cal interface for will able to understand system cal
process management- interface for process management.
35. L34 fork, vfork, exit, wait, 2.By the end of the session student
T3
waitpid, exec family will able to create our own processes
to deal with the system
1.By the end of the session student
process groups, session
will able to create process session
and controlling
and terminal 2.By the
36. L35 terminal, differences
end of the session student will able to
T1
between threads and
understand the differentiate between
processes.
threads and processes
1.By the end of the session student
Signals: Introduction to will able to understand basic of
signals, signal signals 2.By the end of the session
37. L36 generation and
T1
student will able to understand signal
handling generation and handling
1.By the end of the session student
kernel support for
will able to understand the flow of
signals, signal function,
signals in kernel.
unreliable signals,
38. L37 reliable signals, kill,
2.By the end of the session student T1
will able to understand kernel
raise, alarm, pause,
support reliable signals,unreliable
abort, sleep functions
signals
IV Inter process 1.By the end of the session
communication: student will able to interact
introduction to with system by using
T3,
40. L38 IPC, , IPC between IPC.2.By the end of the
T1
processes on a single session student will able to
computer system know process communication
between two systems
IPC between processes 1.By the end of the session student
on different systems will able to interact with different T3,
41. L39 T1
systems by using IPC
pipes-creation, IPC 1.By the end of the session student
between related will able to create pipes for inter
processes using process communication. T3,
42. L40 unnamed pipes 2.By the end of the session student T3
will able to relate processes using
unnamed pipes
FIFOs-creation, IPC 1.By the end of the session student
between unrelated will able to create FIFO for inter
processing using process communication. T3,
43. L41 FIFOs( named pipes) 2.By the end of the session student T1
will able to relate processes using
FIFO(named pipes)
1.By the end of the session student
differences between will able to differentiate between
unnamed and named unnamed and named pipes
44. L42 pipes, popen and pclose 2.By the end of the session student
T3
library functions. will able to Understand library
functions
45. L43 Message queues: 1.By the end of the session student T3
kernel support for will able to understand the flow of
message queues , message queues in kernel.
Unix system V 2.By the end of the session student
APIs for messages, will able to differentiate between
unix systems and APIs
1.By the end of the session
student will able to construct
client/server programs for client
46. L44 examples 2.By the end of the session
T3
student will able to construct
programs for server
1.By the end of the session
student will able to
Semaphores – understand the flow of
47. L45 kernel support for semaphores in kernel T3
a 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
differentiate between unix
systems and APIs for
Unix system V
semaphores
48. L46 APIs for
2.By the end of the session
T3
semaphores
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 locking with file locks semaphores
49. L47 semaphores 2.By the end of the session
T3
student will able to construct
programs semaphores
1.By the end of the session
student will able to
Shared memory- understand the flow shared
50. L48 kernel support for memory in kernel . T3
a Shared memory 2.By the end of the session
student will able to construct
programs Shared memory
V 1.By the end of the session
student will able to
differentiate between unix
Unix system V
systems and APIs for shared
51. L49 APIs for Shared
memory. 2.By the end of the
T2
memory
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
Semaphore and
programs for semaphore
53. L50 shared memory
2.By the end of the session
T2
with examples
student will able to write
programs for shared memory
1.By the end of the session
student will able to
Understand basics about
Sockets:
sockets 2. By the end of the
54. L51 introduction to
session student will able to
T3
Berkeley sockets
perform intre process
communication between to
systems
55. L52 IPC over a network, 1.By the end of the session student T3
Client-Server model 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
Socket address will able to understand the address
structures (Unix structure of sockets 2.By the end of
56. L53 domain and Internet the session student will able to
T3
domain) differences between unix domain and
internet domain
1.By the end of the session student
will able to understand differences
socket system calls for between connection oriented
connection oriented protocols and connectionless
57. L54 protocols and protocol
T3
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
Example-client/server will able to write client/server
programs T3
programs-Single
58. L55 server-client 2.By the end of the session student &
will able to connect single server- w1
connection
client
1.By the end of the session student
Example-client/server will able to write client/server
programs-Single programs
59. L56 server-client 2.By the end of the session student
T3
connection will able to connect single server-
client
1.By the end of the session student
will able to Understand Multiple
Multiple simultaneous simultaneous clients
60. L57 clients 2.By the end of the session student
T3
will able to connect Multiple server-
client
1.By the end of the session student
will able to understand Multiple
T3
Multiple simultaneous simultaneous clients
61. L58 clients 2.By the end of the session student
&
w1
will able to connect Multiple server-
client
1.By the end of the session student
will able to understand socket
Socket options-set
62. L59 socket
options and set options 2. By the end T3
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
63. L60 fctl system calls
2.By the end of the session student
T3
will able to connect fctl system calls
1.By the end of the session student
will able to differentiate the three
Comparison of IPC
64. L61 mechanisms.
IPC mechanisms. 2.By the end of the T3
session student will able to identify
the best IPC mechanism