LINU
X
PRO
GRA
MMI
NG
(CS
E
4303
)
Faculty member Details
Course objectives: This course will enable students to
Experiment with basic Linux commands and shell scripts
Make use of Linux operating system environment for program and
application development
Understanding Basic Linux System Administration
Sylla
bus
Module -1 (5 hours)
INTRODUCTION:
What is Linux? Starting with Linux, Understanding what Linux is,
Understanding how Linux differs from other Operating System
Text Book 1:
Christopher Negus, Linux Bible,(8e), John Wiley & Sons Publication, 2012
[Chapter 1 (Pages:1-6) ]
USING THE SHELL:
About Shells and Terminal Windows, Choosing Your Shell, Running
Commands, Running commands, Recalling Commands Using Command
History, Connecting and Expanding Commands, Using Shell Variables ,
Creating Your Shell Environment, Getting Information About Commands,
Sample programs
Text Book 1: Chapter 3 (Pages:61-90)
Sylla
bus
Module -2 (8 hours)
MOVING AROUND THE FILESYSTEM:
Using Basic Filesystem Commands, Using Metacharacters and Operators, Listing Files
and Directories , Understanding File Permissions and Ownership ,Moving, Copying,
and Removing Files
Text Book 1: Chapter 4 (Pages: 93-112)
PATTERN MATCHING:
Filenames Versus Patterns, Metacharacters, Search Patterns Replacement Patterns,
Metacharacters, Listed by Program, Examples of Searching, Examples of Searching
and Replacing
Text Book 2: Ellen Siever, Stephen Figgins, Robert Love, and Arnold Robbins, Linux in a
Nutshell, (6e), O’Reilly Media Publication,2009 [Chapter 7 (Pages:654-659) ]
BASICS OF SYSTEM MANAGEMENT:
Understanding System Administration, Essential Administrative Commands,
Configuration Files, and Log Files
Text Book 1: Chapter 8 ( Pages:165-180)
Sylla
bus
Module -3 (10 Hours)
SED(Stream Editor) AND AWK PROGRAMMING:
Editing Files with vim and vi, Finding files, The sed Editor, Conceptual
Overview, Command-Line Syntax, Syntax of sed Commands, Group
Summary of sed Commands, Alphabetical Summary of sed Commands
Text Book 1: Chapter 5 (Pages:113-130)
Text Book 2: Chapter 10 (Pages:711-717)
Command-Line Syntax, Standard Options, Important gawk Options, Patterns and
Procedures, Variable and Array Assignment, User-Defined Functions, Specific
Features, Summary of awk Functions and Commands, Output Redirections
Text Book 2: Chapter11 ( Pages:726-746)
MANAGING RUNNING PROCESSES:
Understanding Processes, Listing Processes, Managing Background and
Foreground Processes, Killing and Renicing Processes
Text Book 1: Chapter 6 ( Pages:131-143)
Sylla
bus
Module -4 (5 hours)
SHELL PROGRAMMING:
Understanding Shell Scripts, Executing and debugging shell scripts,
understanding shell variables, Performing arithmetic in shell scripts, Using
programming constructs in shell scripts, Trying some useful text
manipulation programs, sample programs
Text Book 1: Chapter 7(Pages:145-161)
Sylla
bus
Module -5 (8 hours)
SOURCE CODE MANAGEMENT:
Introduction and Terminology, Usage Models, Source Code Management Systems
THE GIT VERSION CONTROL SYSTEM:
Git Repository Format, Using Git: A Quick Tour, The Git Command Line Client,
The git Command, Accessing Git’s Online Help ,git Subcommands
Text 2: Chapter 14 (Pages:805-812)
THE SUBVERSION VERSION CONTROL SYSTEM:
Conceptual Overview, Using Subversion: A Quick Tour, The Subversion
Command Line Client: svn , Repository Administration: svnadmin ,Examining the
Repository: svnlook, Providing Remote Access: svnserve
Text Book 2: Chapter 13 ( Pages: 755-804)
Course outcomes:
After studying this course, students will be able to:
1: Understand Functioning of Shell
2: Perform Basic System Administration
3: Explore the Text Processing Programs
4: Apply Shell Scripting to Accomplish Routine Tasks
5: Manage Program through Source Control System
What is Linux?
Understanding how
Linux differs from other
Operating System
INTR
ODUC
TION
What is Linux?
Linux is one of the most
important technology
advancements of the 21st
century.
Besides its impact on
the growth of the Internet
and its place as an
enabling technology for a
INTR range of computer-driven
ODUC devices,
TION Linux development has
been a model for how
collaborative projects can
surpass what single
individuals and
companies can do alone
Understanding Linux
Linux is a computer operating
system. An operating system consists
of the software that manages your
computer and lets you run applications
on it.
The features that make up Linux
and similar computer operating
systems include the following:
Detecting and preparing hardware
INTR Managing processes
ODUCManaging memory
TION Providing user interfaces
Controlling file systems
Providing user access and
authentication
Offering administrative utilities
Starting up service
Programming tools
Understanding Linux
Modern Linux systems now go way
beyond what the first UNIX systems
(on which Linux was based) could do.
Advanced features in Linux, often
used in large enterprises, include the
following:
Clustering
Virtualization
Real-time computing
INTR Specialized storage
ODUC
TION
Understanding How Linux Differs
from Other Operating Systems
If you are new to Linux, chances are
you have used a Microsoft Windows or
Apple Mac
OS operating system. operating
systems from both Microsoft and
Apple are considered proprietary
operating systems. What that means
is:
You cannot see the code used to
■
INTRcreate the operating system.
ODUC You, therefore, cannot change the
■
operating system at its most basic
TION levels if it doesn’t suit your needs —
and you can’t use the operating
system to build your own operating
system from source code.
You cannot check the code to find
■
bugs, explore security vulnerabilities,
or simply learn what that code is doing.
You may not be able to easily plug
■
your own software into the operating
system if the creators of that system
don’t want to expose the programming
interfaces you need to the outside
world