cse217 linux-programming th 1.00 ac20

2
 Subject code: CSUE3 Title: LINUX PROGRAMMING LTPC: 3, 0, 0, 3 Version No. Course prerequisite Operating Sys tems & Programming in C Objectives: To understand Linux OS and develop applications using C under Linux platform Expected Outcome: Acquire knowledge on kernel internals and Linux development tools Unit No. I Unit Title: Linux Internals Number of hours (per Unit) 9 hours Kernel basics, processes and files, system calls. User mode and kernel mode. The file system. How inode stores all blocks of a file. File system layout. The superblock. Process Management. Kernel processes and user processes. Process states. Process table. Unit No. II Unit Title: Shell Programming  Numbe r of hours (pe r Unit) 9 hours Introduct ion to shell; The m ajor shells: Bourne Shell, C shell, Ko rn and Bash. The shell's interpr etive cycle. Wild-car ds. Escaping and quoting. The three standard files and redir ection (>, < and >>). Connecting commands with pipes (I). Command substitution. Shell variables and how they determine system behavior. Aliases and Command history, Environment variables, setting terminal (Sty.). Editors vi and gedit. Unit No. III Unit Title: General System Administration  Numbe r of hours (pe r Unit) 9 hours The role and powers of the system administrator. Becoming super user (su). User administration (useradd, usermod, userdel and passwd). Understanding /etc/passwd and /etc/shadow. Role of init in startup and shutdown. Understanding /etc /inittab.. Unit No. IV Unit Title: File Administration  Numbe r of hours (pe r Unit) 9 hours Partitions and file systems (in detail). Types of file systems. Mounting local and networked file systems (mount, umount and /etc/fstab). File system checking (fsck). Compressing files (compress, gzip and zip).  Unit No. V Unit Title: Linux Development Tools  Numbe r of hours (pe r Unit) 9 hours Introduction to GCC compiler   Compilation of C Program using gcc - multiple source files - compilation using make command and makefiles   Debugging  types of errors  debugging techniques  debugging with gdb  assertions. Text Books: 1.  Neil Matthew , Richard Stone s, Alan Cox , Beginning Linux Programming , 3rd Edition, Wrox  publications, 2004 2. Robert Love , Linux Kernel Development(2 nd Edition), Novell Reference Books: 1. Jon Masters, Richard Blum, “Professional Linux Programming” Wrox Publications, 2006 2. Arnold Robbins, Nelson H.F. Beebe, Classic Shell scripting, Oreilly publishers, 2005 Mode of Evaluatio n Continu ous assessment examination, Quiz, Open Laboratory, Assignment / Seminar and Term-end examination Recommended by the Board of Studies on Date of Approval by the Academic Council Proceedings of the 20th Meeting of the Academic Council of VIT held on 26.3.2010 935

Upload: netgalaxy2010

Post on 14-Apr-2018

214 views

Category:

Documents


0 download

TRANSCRIPT

7/29/2019 Cse217 Linux-programming Th 1.00 Ac20

http://slidepdf.com/reader/full/cse217-linux-programming-th-100-ac20 1/1

 

Subject code: CSUE3 Title: LINUX

PROGRAMMING

LTPC: 3, 0, 0, 3

Version No.Course prerequisite Operating Systems & Programming in C

Objectives: To understand Linux OS and develop applications using C under Linux platform

Expected Outcome: Acquire knowledge on kernel internals and Linux development tools

Unit No. I Unit Title: Linux Internals Number of hours (per Unit)9 hours

Kernel basics, processes and files, system calls. User mode and kernel mode. The file system.How inode stores all blocks of a file. File system layout. The superblock. Process Management.Kernel processes and user processes. Process states. Process table.

Unit No. II Unit Title: Shell

Programming

 Number of hours (per Unit)

9 hours

Introduction to shell; The major shells: Bourne Shell, C shell, Korn and Bash. The shell'sinterpretive cycle. Wild-cards. Escaping and quoting. The three standard files and redirection (>,

< and >>). Connecting commands with pipes (I). Command substitution. Shell variables and howthey determine system behavior. Aliases and Command history, Environment variables, settingterminal (Sty.). Editors vi and gedit.

Unit No. III Unit Title: General System

Administration 

 Number of hours (per Unit)

9 hours

The role and powers of the system administrator. Becoming super user (su). User administration

(useradd, usermod, userdel and passwd). Understanding /etc/passwd and /etc/shadow. Role of initin startup and shutdown. Understanding /etc/inittab..

Unit No. IV Unit Title: File

Administration 

 Number of hours (per Unit)

9 hours

Partitions and file systems (in detail). Types of file systems. Mounting local and networked filesystems (mount, umount and /etc/fstab). File system checking (fsck). Compressing files

(compress, gzip and zip). 

Unit No. V Unit Title: Linux

Development Tools  Number of hours (per Unit)9 hours

Introduction to GCC compiler  – Compilation of C Program using gcc - multiple source files -

compilation using make command and makefiles – Debugging – types of errors – debuggingtechniques – debugging with gdb – assertions.

Text Books:1.   Neil Matthew, Richard Stones, Alan Cox, Beginning Linux Programming, 3rd Edition, Wrox

 publications, 20042.  Robert Love, Linux Kernel Development(2nd Edition), Novell

Reference Books:

1.  Jon Masters, Richard Blum, “Professional Linux Programming” Wrox Publications, 2006 2.  Arnold Robbins, Nelson H.F. Beebe, Classic Shell scripting, Oreilly publishers, 2005

Mode of Evaluation Continuous assessment examination, Quiz, Open Laboratory,

Assignment / Seminar and Term-end examination

Recommended by theBoard of Studies on

Date of Approval by the

Academic Council

Proceedings of the 20th Meeting of the Academic Council of VIT held on 26.3.2010

935