Syllabus

JNTUK B.Tech Unix and Shell Programming (Elective – IV) for R13 Batch.

JNTUK B.Tech Unix and Shell Programming (Elective – IV) R13 Syllabus for Engineering it gives you detail information Unix and Shell Programming (Elective – IV) syllabus.

Learning Objectives

  • To provide a comprehensive introduction to Shell Programming. have the fundamental skills required to write simple and complex
  • Shell scripts to automate jobs and processes in the Unix environment.

UNIT I

Introduction to Unix:- Architecture of Unix, Features of Unix, Unix Commands – PATH, man, echo, printf, script, passwd, uname, who, date, stty, pwd, cd, mkdir, rmdir, ls, cp, mv, rm, cat, more, wc, lp, od, tar, gzip.

UNIT II

Unix Utilities:- Introduction to unix file system, vi editor, file handling utilities, security by file permissions, process utilities, disk utilities, networking commands, unlink, du, df, mount, umount, find, unmask, ulimit, ps, w, finger, arp, ftp, telnet, rlogin.Text processing utilities and backup utilities, detailed commands to be covered are tail, head, sort, nl, uniq, grep,
egrep, fgrep, cut, paste, join, tee, pg, comm, cmp, diff, tr, awk, cpio.

UNIT III

  • File Management : File Structures, System Calls for File Management – create, open, close, read, write, lseek, link, symlink, unlink, stat, fstat, lstat, chmod, chown, Directory API – opendir, readdir, closedir, mkdir, rmdir, umask.
  • Introduction to Shells : Unix Session, Standard Streams, Redirection, Pipes, Tee Command, Command Execution, Command- Line Editing, Quotes, Command Substitution, Job Control, Aliases, Variables, Predefined Variables, Options, Shell/Environment Customization.
  • Filters : Filters and Pipes, Concatenating files, Display Beginning and End of files, Cut and Paste, Sorting, Translating Characters, Files with Duplicate Lines, Count characters, Words or Lines, Comparing Files.

UNIT IV

  • Grep : Operation, grep Family, Searching for File Content.
  • Sed : Scripts, Operation, Addresses, commands, Applications, grep and sed.
  • awk: Execution, Fields and Records, Scripts, Operations, Patterns, Actions, Associative Arrays, String. Functions, String Functions, Mathematical Functions, User – Defined Functions, Using System commands, in awk, Applications, awk and grep, sed and awk.

UNIT V

  • Interactive Korn Shell : Korn Shell Features, Two Special Files, Variables, Output, Input, Exit Status of a Command, eval Command, Environmental Variables, Options, Startup Scripts, Command History, Command Execution Process.
  • Korn Shell Programming : Basic Script concepts, Expressions, Decisions: Making Selections, Repetition, special Parameters and Variables, changing Positional Parameters, Argument Validation, Debugging Scripts, Script Examples.

UNIT VI

  • Interactive C Shell : C shell features, Two Special Files, Variables, Output, Input, Exit Status of a Command, eval Command, Environmental Variables, On-Off Variables, Startup and Shutdown Scripts, Command History, Command Execution Scripts.
  • C Shell Programming : Basic Script concepts, Expressions, Decisions: Making Selections, Repetition, special Parameters and Variables, changing Positional Parameters, Argument Validation, Debugging Scripts, Script Examples.

Learning Outcomes

  • Upon completing this course students will have skills in:
  • Use UNIX shells and commands to create powerful data processing applications.
  • Build UNIX applications using the shell command interpreter and UNIX commands.
  • Use UNIX at the command line to manage data, files, and programs.
  • Use UNIX editors and tools to create and modify data files and documents.
  • Text Books
  • Unix and shell Programming Behrouz A. Forouzan, Richard F. Gilberg. Thomson.
  • Your Unix the ultimate guide, Sumitabha Das, TMH. 2nd Edition. 2007-2008 Page 34 of 95.

References Books

  • Unix for programmers and users, 3rd edition, Graham Glass, King Ables, Pearson Education.
  • Unix programming environment, Kernighan and Pike, PHI. / Pearson Education.
  • The Complete Reference Unix, Rosen, Host, Klee, Farber, Rosinski, Second Edition, TMH.

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.

1 Comment

  1. pavan

    can i get material for this subject…unix and shell programming

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.