School of Computer Science Engineering and Technology
Course- MCA/M.Tech Type- Core
Course Code-CMCA505/CSET505 Course Name- Operating Systems Essentials
Year-2024 Semester- Even
Date- Jan 2024 Batch- 2023-25
A- Type- Lab Assignment/Tutorial # No. (Week 1, Assignment No. 1)
1) Introduction and Working with Linux Operating System
https://www.webminal.org/register/
https://www.onworks.net/
(use this link to register for linux terminal online)
2) PATH variable in Linux (How to set and check path)
3) Use of commands- (20 Min.)
man (Syntax- man printf)
School of Computer Science Engineering and Technology
echo (Syntax- echo “Welcome to Bennett University”)
printf (Syntax- printf "%s\n" "Welcome to Operating Systems Lab"),
School of Computer Science Engineering and Technology
uname (information about the system), who (users currently logged in), date,
pwd (Present Working Directory),
School of Computer Science Engineering and Technology
cd, mkdir, rmdir, ls,
cp, mv, rm,
School of Computer Science Engineering and Technology
cat (to create, view, concatenate files Syntax- cat filename, cat -n filename, cat source
Table- Frequently used commands in Linux
Command Purpose
ls List directory contents
cd Change the current directory
pwd Print the current working directory
mkdir Create a new directory
rm Remove files or directories
cp Copy files and directories
mv Move or rename files and directories
cat Concatenate and display file contents
more or less View file contents page by page
chmod Change file permissions
School of Computer Science Engineering and Technology
Command Purpose
chown Change file owner and group
sudo Execute a command with superuser privileges
Package management commands for installing, updating, and
apt or apt-get removing software packages
wget Download files from the web
top or htop Display system processes and their resource usage
ps Display information about processes
kill Terminate processes by ID or name
uname Display system information
df Display disk space usage
du Display disk usage of files and directories
free Display amount of free and used memory in the system
ifconfig Display or configure network interfaces
ping Test network connectivity to another host
traceroute or
tracert Trace the route that packets take to a network host
Display network connections, routing tables, interface statistics,
netstat masquerade connections, and multicast memberships