1. Lovely Professional University, Punjab
Course Code Course Title Course Planner Lectures Tutorials Practicals Credits
CSE207P LINUX PROGRAMMING 15359::Baljit Singh Saini 0.0 0.0 3.0 2.0
Course Category Practical Course
TextBooks
Sr No Title Author Edition Year Publisher Name
T-1 Begining Linux Programming Neil Mathew & Richard 4th Wiley
Stones
Reference Books
Sr No Title Author Edition Year Publisher Name
R-1 Linux Cookbook Carla Schroder 1st O’REILLY
R-2 Advanced Programming in the UNIX W. Richard Stevens, 2nd Addison Wisely
Environment Stephen A. Rago
R-3 Advanced C Programming by John W Perry 1st PWS Publishing
Example
R-4 Beginning Red Hat Linux 9 Sandip Bhattacharya, 2nd Wiley
Pancrazio De Mauro, Mark
Mamone, Deepak Thomas,
Shishir Gundavaram,
Simon Whiting
R-5 Expert C Programming Peter Van Der Linden 1st Prentice Hall, USA.
Relevant Websites
Sr No (Web address) (only if relevant to the course) Salient Features
RW-1 http://www.ubuntu.com/ All details related to UBUNTU
RW-2 http://linuxcommand.org/lc3_writing_shell_scripts.php Shell Scripts
RW-3 http://www.cplusplus.com/reference/clibrary/cstdio/ Programs in C
*Each experiment of the lab will be evaluated using following relative scheme:
Component % of Marks
J/E 50
2. WR 20
VIVA 30
Detailed Plan For Practicals
Practical No Broad topic (Subtopic) Practical Description Learning Outcomes Equipment Used
Practical 1 Linux Basics and Environment To demonstrate the process of installing The student will learn the installation Linux Operating system
(Installation) linux process
Linux Basics and Environment To familiarize with the linux desktop Student surfs the desktop and learn the Linux Operating system
(KDE/GNOME) difference between linux and windows
desktop
Linux Basics and Environment(Panel, To familiarize with the linux desktop Student surfs the desktop and learn the Linux Operating system
Workspace, Main Menu, Running difference between linux and windows
Applications) desktop
Linux Basics and Environment(Using To familiarize with the linux desktop To familiarize with the linux desktop Linux Operating system
KDE/Gnome for copying, moving,
creating directories/files.)
Practical 2 Linux Basics and Environment(Terminal Teaching use of commands Student learns how to work with Linux Operating system
emulator and running command line interface
programs/Commands
From terminal emulator)
Linux Shell Commands and Scripts(Shell To demonstrate the use of various linux Student learns how to work in Linux Operating system
commands like ls, touch, rm, mv, cp, commands command line mode
mkdir, rmdir, pwd, ps, cat, fg, bg)
Linux Shell Commands and Scripts(Using To demonstrate the pattern search related Student learns how search in command Linux Operating system
grep, egrep, regular expressions and GUI commands line mode
for file and pattern searching)
Practical 3 Linux Shell Commands and Scripts To teach how to create users and groups Learns to manage users using Linux Operating system
(Managing users and groups through GUI via commands commands
(Graphical User Interface) and CLI
(Command Line Interface).)
Linux Shell Commands and Scripts To learn how to manage user accounts Learns to manage users using Linux Operating system
(Understanding and changing the commands
permissions with CLI and GUI.)
Linux Shell Commands and Scripts To teach how to interact with linux Learning the use of environment Linux Operating system
(Setting the environment variables using environment variables
CLI and GUI.)
Practical 4 Linux Shell Commands and Scripts To demonstrate use of shell scripts Student learns to create his own Linux Operating system
(Simple scripts and making them commands
executable)
Linux Shell Commands and Scripts(Shell To demonstrate use of shell scripts Student learns to create his own Linux Operating system
programming) commands
3. Practical 4 C under Linux(File handling using low To write programs related to system calls Student will come to know how to Linux Operating system
level access and standard input output manage files
library.)
Practical 5 C under Linux(Directory maintenance To write programs to manage directories Student will come to know how to Linux Operating system
and scanning directories) create and list directories
C under Linux(Command line To demonstrate how to take input from Learning how to develop programs that Linux Operating system
arguments.) user take input when program is run at
command line
C under Linux(Simulate Shell comands in To introduce the concept of options. Helps student to develop commands Linux Operating system
C (ls,env,chmod Etc)) that take different options to act
differently
Practical 6 C under Linux(Time functions: To demonstrate the use of time related Student will be able to do time related Linux Operating system
(gmtime,ctime,mktime,localtime)) functions things
C under Linux(Get user, host and logging To demonstrate how to handle Student can keep track of logging Linux Operating system
information.) information. related information of any user.
Practical 7 C under Linux(Managing memory To show how to manage memory Student can handle memory according Linux Operating system
dynamically) to need
C under Linux(File locking and reading, To teach how to protect files Will help students to safeguard files Linux Operating system
writing with locks.) from being overwritten by two
processes at same time
Practical 8 Development Tools(Using make and To teach how to compile only the affected Student learns how to save compilation Linux Operating system
make file) files time when only a few files of the
project are changed
Development Tools(RCS) To teach how to save different versions of Student can can make changes to a file Linux Operating system
a file but still all the versions of it
Practical 9 Development Tools(Linux Manual Pages) To teach how to create manual page for a Student can create his/her own Linux Operating system
command that they have developed documentation for his/her command
themselves
Process and Threads(Process creation and Teaching the concept of how to handle Student will be able to create and Linux Operating system
cancellation) processes duplicate processes
Practical 10 Process and Threads(Process duplication) Teaching the concept of how to handle Student will be able to create and Linux Operating system
processes duplicate processes
Process and Threads(Threads) Teaching the concept of how to handle Student will be able to create threads Linux Operating system
threads for a process and perform different
functions from same process