Operating System
Operating System
Prerequisite: Data structures( stack, queue, linked list, tree, graph), hashing, File structures, Any
structured Programming Language (like C),
Content:
6 Memory Management: 10 18
Memory Management requirements, Memory partitioning: Fixed
and Variable Partitioning, Memory Allocation: Allocation Strategies
(First Fit, Best Fit, and Worst Fit), Adding disks, partitions and file
systems to linux systems, Swapping, Paging and Fragmentation.
Managing Logical volume management (LVM) storage, Demand
Paging, Security Issues. Virtual Memory: Concepts, VM
management, Page Replacement Policies (FIFO, LRU, Optimal,
Other Strategies), Thrashing. Using virtualized systems
10 System Administrator: 2 5
Accessing Command Line, Managing files from command line
Getting Help in Red Hat Enterprise Linux Creating, Viewing and
Editing Text files, Managing local linux users and groups,
Controlling access to files with linux file system permissions,
Controlling Access to Files with ACLs
Course Outcome:
List of Experiments/Tutorials:
1. Study the basic and advanced commands of Linux/UNIX such as ls, touch, mkdir, rm,
cp, mv, rmdir, man, cd, history, pwd, clear, head, tail, cat, wc, date, timedatectl, su,
sudo, chage, etc.
2. Write a menu driven shell script which will print the following menu and execute
the given task using switch case.
a. Display calendar of current month
b. Display today’s date and time
c. Display usernames those are currently logged in the system
d. Display your name at given x, y position
e. Display your terminal number
3. Write a shell script programming for generating palindrome numbers.
4. Write a shell script to generate a factorial of given number n.
5. Shell script programming using filters (including grep, egrep, fgrep, pgrep)
6. Execute the given command.
a. useradd
b. usedmod
c. userdel
d. passwd
e. groupadd
f. groupmod
g. groupdel
7. Explore chmod, umask, chown and top commands with options.
8. Explore ps aux, sleep, jobs, fg, bg, systemctl, chronyd and tar commands with options.
9. Configure rsyslog on serverX to log all messages with severity debug the newly created
log file/var/log/ messages - debug add ingther syslog configuration file
/etc/rsyslog.d/debug.conf. Verify that the generated debug log message with the logger
command lives in the/var /log/messages - debug log file.
10. Practice configuring network with nmcli.
11. Perform the following tasks with LINUX commands.
a. Updating Software packages with yum.
b. Enabling yum software repositories.
c. Updating the existing kernel using yum.
12. Perform mounting and unmounting commands of the file system with example along
with fixed disk partitions.
a. Add a Fixed type partition of 1 GB
b. Save partition
c. Format partition with ext4 file system.
d. Configure the newly created file system to mount on /archive directory.
13. Perform variable disk partitions as follows.
a. A 400MB logical volume called “storage” in the volume group “shazam”,
mounted at /storage with XFS file system. The volume group consists of two
physical volumes, each 256 MB in size.
b. Extend the Logical Volume upto 500MB with the same file format. [Extend the
Volume Group “shazam”]
14. Perform updatedb, locate, find, getfacl, setfacl, getenforce and setenforce commands
with options.
15. Explore linux commands for scheduling linux tasks also managing priorities of tasks.