LPSyllabus
LPSyllabus
UNIT-I Linux Utilities-File handling utilities, Security by file permissions, Process utilities, Disk utilities, Networking commands, Filters, Text processing utilities and Backup utilities, sed scripts, operation, addresses, commands, applications, awk- execution, fields and records, scripts, operation, patterns, actions, functions, using system commands in awk. UNIT- II Working with the Bourne again shell(bash): Introduction, shell responsibilities, pipes and input Redirection, output redirection, here documents, running a shell script, the shell as a programming language, shell meta characters, file name substitution, shell variables, command substitution, shell commands, the environment, quoting, test command, control structures, arithmetic in shell, shell script examples, interrupt processing, functions, debugging shell scripts. UNIT-III Files: File Concept, File System Structure, I-nodes, File Attributes, File types, Library functions, the standard I/O and formatted I/O in C, stream errors, kernel support for files, System calls, file descriptors, low level file access- File structure related system calls (File APIs), file and record locking, file and directory management - Directory file APIs, Symbolic links &hard links. UNIT-IV Process - Process concept, Kernel support for process, process attributes, process controlprocess creation, waiting for a process, process termination, Zombie process, orphan process, Process APls. Signals- Introduction to signals, Signal generation and handling, Kernel support for signals, Signal function, unreliable signals, reliable signals, kill, raise, alarm, pause, abort, sleep functions. UNIT-V Inter process Communication: Introduction to IPC, Pipes, FlFOs, and Introduction to three types of IPC-message queues, semaphores and shared memory. Message Queues- Kernel support for messages, Unix system V APls for messages, client/server example. UNIT-VI Semaphores-Kernel support for semaphores, UNIX system V APIs for semaphores. Shared Memory-Kernel support for shared memory,UNIX systemVAPIs for shared memory, semaphore and shared memory example. UNIT-VII Multithreaded Programming: Differences between threads and processes, Thread structure and uses, Threads and Lightweight Processes, POSIX Thread APIs, Creating Threads, Thread Attributes, Thread Synchronization with semaphores and with Mutexes, Example programs. UNIT-VIII Sockets: Introduction to Sockets, Socket Addresses, Socket system calls for connection oriented protocol and connectionless protocol, example client/ server programs.
TEXTBOOKS: 1. Unix System Programming using C++,T.Chan, PHI.(UNITIII to UNIT VIII) 2. Unix Concepts and Applications, 4th Edition, Sumitabha Das, TMH 3. BeginningLinuxProgramming,4thEdition,N.Matthew,RStones,Wrox, WileyIndia Edition REFERENCEBOOKS: 1. LinuxSystemProgramming,Robert Love, O'Reilly, SPD. 2. Advanced Programming in the Unix environment, 2ndEdition, W.RStevens, Pearson Education. 3. UnixNetworkProgramming,W.RStevens,PHI. 4. Unixfor programmersand users,3rdEdition,GrahamGlass, KingAbles, Pearson Education. 5. Unixand Shell programming,B.A.Forouzanand RF.Gilberg, Cengage Learning. 6. Unix The Text book,2ndedition, S.M.Sarwar,RKoretsky, S.A.Sarwar, Pearson Education. 7. Unix Internals, U.Vahalia,Pearson Education. 8. Unix shell Programming, S.G.Kochanand P.Wood,3rdedition, Pearson Education.