LP
LP
Course Objective:
Analyze fundamentals of the Linux operating system, including installation, configuration, administration,
file management, and security.
Course Outcomes:
After completion of course the student is able to
1. Evaluate the fundamental commands within the Linux operating system and shell scripts to assess their
functionality and relevance. –L4
2. Develop and synthesize skills essential for system programming encompassing file system programming,
process and signal management, as well as Inter Process Communication (IPC).-L6
3. Create network programs utilizing socket-based communication, demonstrating proficiency in their
development and implementation-L6
4. Evaluate and analyze file system concepts and directories to understand their structure and functionality. – L4
5. Evaluate the mechanisms and processes involved in Inter Process Communication (IPC) to assess their
functionality and interconnections. - L4
UNIT I
Introduction: An Introduction to UNIX, Linux, and GNU, Programming Linux
Shell Programming: What is Shell, Pipes and Redirection, The Shell as a Programming Language, Shell
Syntax
UNIT II
FILES:
Working with Files: Liņux File Structure, System Calls and Device Drivers, Library Functions, Low-Level
File Access, The Standard I/0 Library, Formatted Input and Output, File and Directory Maintenance,
Scanning Directories, Errors
The Linux Environment: Program Arguments, Environment Variables, Time and Date, Temporary Files,
User Information, Host Information, Logging, Resources and Limits,
UNIT III
Process and Signals:
What Is a Process?, Process Structure, Starting New Processes, Signals
IPC: Pipes
What is a Pipe?, Process Pipes, Sending Output to open, The Pipe Call, Parent and Child Processes, Named
Pipes: FIFOS, The CD Database Application
UNIT IV
IPC: Semaphores, Shared Memory, and Message Queues
Semaphores, Shared Memory, Message queues, The CD Database Application, IPC Status Commands
UNIT V
Sockets
What Is a Socket? Socket Connections, Network Information, Multiple Clients, Datagrams