
[admission-open-date]
- Back to School Homepage
- Back to Department Homepage
CS16 – UNIX Shell Programming
Teaching Hours : 60 [ 30 hours Theory + 30 hours LAB ]
Prerequisite: Basic Computer Knowledge.
Modules
Unit 1
- Unix Architecture and Command Usage
- Introduction to Unix OS, The UNIX Architecture, Features of UNIX, General purpose utilities.
- The File system
- File, filename, parent-child relationship, directory related commands. The UNIX file system, File related commands, Compression and archiving files-zip and tar.
-
6 hours
Unit – 2 File Permissions and Attributes
- File ownership, file permissions, chmod, directory permissions, changing file ownership, mask, Pr, head, tail, cut, paste, sort, uniq, tr, grep, egrep, sed
-
6 hours
Unit-3 The vi Editor
- Vi basics, Input mode, ex mode, navigation, editing text, undo, repeat, search, substitution
- Shell, pattern matching, escaping and quoting, redirection, special files, pipe, command substitution, shell variables, environment variables, aliases, command history, in-line command editing.
-
6 hours
Unit –4 Shell Programming
- Shell scripts, Shell variables, Shell keywords, Assigning values to variables, UNIX-defined variables, unchanging variables, wiping out variables, positional parameters, command line arguments, shift, arithmetic in shell script.
-
6 hours
Unit- 5 Systems programming
- Decision Making: if statements, test command: File tests, String tests, Numerical tests, Logical tests, nested if, forms of if.
- Loop Control Structure and shell metacharacters: while loop, until loop, for loop, nesting of loops, break, continue, shell meta characters.
-
6 hours
-
Text Book
-
Yashavant Kanetkar, UNIX shell programming ,BPB publications
-
Reference
-
Sumitabha Das, UNIX Concepts and Applications, Fourth Edition, The McGraw-Hill Companies
C Programming Lab
Guidelines
Article
Follow Coding standards
Article I
The output of the programs should be neatly formatted
Article II
The programs should be user friendly and interactive
Article III
Use comment wherever necessary
Lab Programs
-
Write a shell script to execute the basics arithmetic operations. -
Write a menu driven shell script to execute the following commands: cat, touch, cal, time, date. -
Write a shell script to generate the sequence of even numbers. -
Write a shell script to generate the series. 1, 4, 9, 16, etc. -
Create a directory and few files with in it of your choice. Write a Schell script to perform the following operations. Copy one file from your directory to any other directory. Append few lines in any of the files in your directory. Delete any file from the directory. -
Write a shell program for creating a file that contains records with a delimiter. Sort this by considering any one field as the primary key. -
Write a script to encrypt and decrypt a text file. -
Write a shell script to perform the following string operations: Find the length of the given string and extract a sub string from a given string. -
Write a shell script that takes a command line argument and demonstrates various file tests. (Write a shell script which will report whether a given argument is a directory or a file.) -
Write a shell script to find whether the given number is Prime number or not. -
Write a shell script to find whether the given number is an Armstrong number or not. -
Write a shell script to generate the Fibonacci series. -
Write a shell script to demonstrate the function call in UNIX. -
Write a Shell Script to convert a binary number to its decimal equivalent.
Admission Queries
For any queries at any given time during the application and admission process, you may contact us through the following Email ID’s:
Bangalore Central Campus
The Office of Admissions,CHRIST (Deemed to be University), Hosur Road,Bengaluru – 560 029, Karnataka, INDIA
Phone
+91 92430 80800
+91 80 4012 9400
Email IDs
Indian candidates: admissions@christuniversity.in
NRI candidates: nri.admission@christuniversity.in
International: isc.admission@christuniversity.in
Bangalore Kengeri Campus
CHRIST (Deemed to be University)
Kanmanike, Kumbalgodu, Mysore Road,
Bengaluru – 560 074, Karnataka, INDIA
Delhi NCR Campus
CHRIST (Deemed to be University),
Mariam Nagar, Meerut Road,
Delhi NCR Ghaziabad – 201003
Phone
1800-123-3212
Bangalore Bannerghatta Road Campus
CHRIST (Deemed to be University)
Hulimavu, Bannerghatta Road,
Bengaluru – 560 076, Karnataka, INDIA
Phone
+91 080 4655 1306
Email
admissions.bgr@christuniversity.in
Bangalore Yeshwanthpur Campus
CHRIST (Deemed to be University)
Nagasandra, Near Tumkur Road,
Bengaluru 560 073, Karnataka, INDIA
Pune Lavasa Campus
CHRIST (Deemed to be University),
Christ University Road, 30 Valor Court, PO Dasve Lavasa, Mulshi, Pune – 412112, Maharashtra
Phone
1800-123-2009
Between: Monday to Friday: 09:00 AM to 04:00 PM,
Saturday: 09:00 AM to 12:00 PM
(Office remains closed on Sundays, Government Holidays and Any special events)
CS16 – UNIX Shell Programming
Teaching Hours : 60 [ 30 hours Theory + 30 hours LAB ]
Prerequisite: Basic Computer Knowledge.
Modules
Unit 1
- Unix Architecture and Command Usage
- Introduction to Unix OS, The UNIX Architecture, Features of UNIX, General purpose utilities.
- The File system
- File, filename, parent-child relationship, directory related commands. The UNIX file system, File related commands, Compression and archiving files-zip and tar.
-
6 hours
Unit – 2 File Permissions and Attributes
- File ownership, file permissions, chmod, directory permissions, changing file ownership, mask, Pr, head, tail, cut, paste, sort, uniq, tr, grep, egrep, sed
-
6 hours
Unit-3 The vi Editor
- Vi basics, Input mode, ex mode, navigation, editing text, undo, repeat, search, substitution
- Shell, pattern matching, escaping and quoting, redirection, special files, pipe, command substitution, shell variables, environment variables, aliases, command history, in-line command editing.
-
6 hours
Unit –4 Shell Programming
- Shell scripts, Shell variables, Shell keywords, Assigning values to variables, UNIX-defined variables, unchanging variables, wiping out variables, positional parameters, command line arguments, shift, arithmetic in shell script.
-
6 hours
Unit- 5 Systems programming
- Decision Making: if statements, test command: File tests, String tests, Numerical tests, Logical tests, nested if, forms of if.
- Loop Control Structure and shell metacharacters: while loop, until loop, for loop, nesting of loops, break, continue, shell meta characters.
-
6 hours
Unit 1
- Unix Architecture and Command Usage
- Introduction to Unix OS, The UNIX Architecture, Features of UNIX, General purpose utilities.
- The File system
- File, filename, parent-child relationship, directory related commands. The UNIX file system, File related commands, Compression and archiving files-zip and tar.
-
6 hours
Unit – 2 File Permissions and Attributes
- File ownership, file permissions, chmod, directory permissions, changing file ownership, mask, Pr, head, tail, cut, paste, sort, uniq, tr, grep, egrep, sed
-
6 hours
Unit-3 The vi Editor
- Vi basics, Input mode, ex mode, navigation, editing text, undo, repeat, search, substitution
- Shell, pattern matching, escaping and quoting, redirection, special files, pipe, command substitution, shell variables, environment variables, aliases, command history, in-line command editing.
-
6 hours
Unit –4 Shell Programming
- Shell scripts, Shell variables, Shell keywords, Assigning values to variables, UNIX-defined variables, unchanging variables, wiping out variables, positional parameters, command line arguments, shift, arithmetic in shell script.
-
6 hours
Unit- 5 Systems programming
- Decision Making: if statements, test command: File tests, String tests, Numerical tests, Logical tests, nested if, forms of if.
- Loop Control Structure and shell metacharacters: while loop, until loop, for loop, nesting of loops, break, continue, shell meta characters.
-
6 hours
-
Text Book
-
Yashavant Kanetkar, UNIX shell programming ,BPB publications
-
Reference
-
Sumitabha Das, UNIX Concepts and Applications, Fourth Edition, The McGraw-Hill Companies
C Programming Lab
Guidelines
Article
Follow Coding standards
Article I
The output of the programs should be neatly formatted
Article II
The programs should be user friendly and interactive
Article III
Use comment wherever necessary
Lab Programs
-
Write a shell script to execute the basics arithmetic operations. -
Write a menu driven shell script to execute the following commands: cat, touch, cal, time, date. -
Write a shell script to generate the sequence of even numbers. -
Write a shell script to generate the series. 1, 4, 9, 16, etc. -
Create a directory and few files with in it of your choice. Write a Schell script to perform the following operations. Copy one file from your directory to any other directory. Append few lines in any of the files in your directory. Delete any file from the directory. -
Write a shell program for creating a file that contains records with a delimiter. Sort this by considering any one field as the primary key. -
Write a script to encrypt and decrypt a text file. -
Write a shell script to perform the following string operations: Find the length of the given string and extract a sub string from a given string. -
Write a shell script that takes a command line argument and demonstrates various file tests. (Write a shell script which will report whether a given argument is a directory or a file.) -
Write a shell script to find whether the given number is Prime number or not. -
Write a shell script to find whether the given number is an Armstrong number or not. -
Write a shell script to generate the Fibonacci series. -
Write a shell script to demonstrate the function call in UNIX. -
Write a Shell Script to convert a binary number to its decimal equivalent.
Admission Queries
For any queries at any given time during the application and admission process, you may contact us through the following Email ID’s:
Bangalore Central Campus
The Office of Admissions,CHRIST (Deemed to be University), Hosur Road,Bengaluru – 560 029, Karnataka, INDIA
Phone
+91 92430 80800
+91 80 4012 9400
Email IDs
Indian candidates: admissions@christuniversity.in
NRI candidates: nri.admission@christuniversity.in
International: isc.admission@christuniversity.in
Bangalore Kengeri Campus
CHRIST (Deemed to be University)
Kanmanike, Kumbalgodu, Mysore Road,
Bengaluru – 560 074, Karnataka, INDIA
Delhi NCR Campus
CHRIST (Deemed to be University),
Mariam Nagar, Meerut Road,
Delhi NCR Ghaziabad – 201003
Phone
1800-123-3212
The Office of Admissions,CHRIST (Deemed to be University), Hosur Road,Bengaluru – 560 029, Karnataka, INDIA
Phone
+91 92430 80800
+91 80 4012 9400
Email IDs
Indian candidates: admissions@christuniversity.in
NRI candidates: nri.admission@christuniversity.in
International: isc.admission@christuniversity.in
CHRIST (Deemed to be University)
Kanmanike, Kumbalgodu, Mysore Road,
Bengaluru – 560 074, Karnataka, INDIA
Phone
+91 80 4012 9800,
+91 80 4012 9802
+91 80 4012 9820
Email
admissions.kengeri@christuniversity.in
CHRIST (Deemed to be University),
Mariam Nagar, Meerut Road,
Delhi NCR Ghaziabad – 201003
Phone
1800-123-3212
Email
admission.ncr@christuniversity.in
Bangalore Bannerghatta Road Campus
CHRIST (Deemed to be University)
Hulimavu, Bannerghatta Road,
Bengaluru – 560 076, Karnataka, INDIA
Phone
+91 080 4655 1306
Email
admissions.bgr@christuniversity.in
Bangalore Yeshwanthpur Campus
CHRIST (Deemed to be University)
Nagasandra, Near Tumkur Road,
Bengaluru 560 073, Karnataka, INDIA
Pune Lavasa Campus
CHRIST (Deemed to be University),
Christ University Road, 30 Valor Court, PO Dasve Lavasa, Mulshi, Pune – 412112, Maharashtra
Phone
1800-123-2009
CHRIST (Deemed to be University)
Hulimavu, Bannerghatta Road,
Bengaluru – 560 076, Karnataka, INDIA
Phone
+91 080 4655 1306
Email
admissions.bgr@christuniversity.in
CHRIST (Deemed to be University)
Nagasandra, Near Tumkur Road,
Bengaluru 560 073, Karnataka, INDIA
Phone
+91 97422 44407
+91 80 6989 6666
Email
admissions.yeshwanthpur@christuniversity.in
CHRIST (Deemed to be University),
Christ University Road, 30 Valor Court, PO Dasve Lavasa, Mulshi, Pune – 412112, Maharashtra
Phone
1800-123-2009
Email
admission.lavasa@christuniversity.in
Between: Monday to Friday: 09:00 AM to 04:00 PM,
Saturday: 09:00 AM to 12:00 PM
(Office remains closed on Sundays, Government Holidays and Any special events)