JNTUH B.Tech 4th year (4-1) Linux Programming gives you detail information of Linux Programming R13 syllabus It will be help full to understand you complete curriculum of the year.
PDF Download Unix System Programming Using C by Chan Terrence (1996) Paperback Download Ftgr. Read The Linux Programming Interface A Linux and UNIX System Programming Handbook EBooks Online. Popular The Linux Programming Interface: A Linux and UNIX System Programming Handbook. In the file table of the process, the reference count is decremented by one. But since parent and child are both holding the same file, the reference count is 2 and after close it reduces to 1. Since it is not zero the process still continue to use file without any problem. See Terrence Chan UNIX system programming,(Unix kernel support for Files).
Objectives
- To understand and make effective use of Linux utilities ans shell scripting language (bash) to solve problem.
- To implement in C some standard Linux utilities such as Is, mv,cp etc. using system calls.
- To develop the skills necessary for system programming including file system programming, process and signal management, and inter process communication.
To develop the basic skills required to write network programs using sockets.
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, Associative Arrays, String and Mathematical functions, System commands in awk, Applications.
Shall programming with Bourne again shell (bash) – Introduction, shell respnsibilites, pipes and Redirection, here documents, running a shell script, the shell as a programming language, shell meta characters, file name substitution, shall variables, command substitutions, shell commands, the environment, quoting, test command, control structures, arithmetic in shell, shell script examples, interrupt processing, fictions, debugging shell scripts.
UNIT – II
Files and Directories – File Concept, File types, File system Structure, file metsdata – Inodes, kernel support for file, system calls for file I/O operations – open, create, read, write, close, Iseek, dup2, file status information – sata family, file and record locking – fcnti fuction, file permissions – chmod, fchmod, file ownership – chown, Ichown, fchown, links – soft links and hard links – symlink, link, unlink.
Directories – Creating, removing and changing Directories – mkdir, rmdir,chdir, obtaining current working directory – getcwd, Directory contents, Scanning Directories – opendir, readdir, closedir, rewinddir functions.
UNIT – III
Process – process concept, Layout of a C program image in main memory, Process environment – environment list, environment variables, getenv, setenv, Kemel support for process, process identification, process, control – process creation, replacing a process image, waiting for a process, process termination, zombie process, orphans prosess, system call interface for process management – fork, vfork, exit, wait, waitpid, exec family, process Groups, Sessions and Controlling Terminal, Differences between threads and processes.
Signals – Introduction to signals, Signal generation and handling, Kernel support for signals, Signal fuction, unreliable signals, reliable signals, Kill, raise, alarm, pause, abort, sleep fiction.
UNIT – IV
Inter process Communication – Introduction to IPC, IPC between processes on a single computer system, IPC between processes on different systems, pipes – creation, IPC between unrelated processes using FIFOs (Named pipes),differences between unnamed and named pipes, popen and pclose library fictions.
Message Queues – Kemel support for messages, APIs for message queues, client/server example.
Semaphores – Kernel support for semaphores, APIs for semaphores, file locking with semaphores.
UNIT – V
Shared Memory – Kemel support for shared memory, IPC over a network, Client – Server model, Socket adress structures (Unix domain and Internet domain), Socket system calls foe connection oriented protocol and connection less protocol, example – client/server programs – Single Server- Client connection, Multiple simultaneous clients, Socket options – sprocket and fcnti system calls, Comparison of IPC mechanisms.
TEXT BOOKS
- Unix System programming using C++, T.Chan, PHI.
- Unix Concepts and Applications, 4th Edition, Sumitabha Das, THM.
- Unix Network Programming, W.R.Stevens, PHI.
REFERENCE BOOKS
- Beginning Linux Programming, 4th Edition, N.Matthew, R.Stones,Wrox, Wiley India Edition.
- Unix for programmers and users, 3rd Edition, Graham Glass, King Ables, Pearson.
- System Programming with C and Unix, A.Hoover, Pearson.
- Unix System Programming, Communication, Concurrency and Threads, K.A.Robbins and S.Robbins, Pearson Education.
- Unix shell Programming, S.G.Kochan and P.Wood, 3rd edition, Pearson Education.
- Shell Scripting, S.Parker, Wiley India Pvt.Ltd.
- Advanced programming in the Unix Environment, 2nd edition, W.R Stevens and S.A Rago, Pearson Education.
- Unix and shell programming, B.A.Forouzan and R.F.Gilberg, Cengage Learning.
- Linux System Programming, Robert LOve,O’Reily, SPD.
- C Programming Language, Kernighan and Ritchie, PHI
OUTCOMES
- Work confidently in Linux environment.
- Work with shell script to automate different tasks as Linux administration.
For more information about all JNTU updates please stay connected to us on FB and don’t hesitate to ask any questions in the comment.