Linux Master Class Course Book
Linux Master Class Course Book
🔍 Linux vs Unix
Feature Linux Unix
● Linux Distros (Ubuntu, Fedora, etc.) are complete operating systems built around the
Linux kernel
🧠 What is a Kernel?
● The core engine of the OS
● Manages:
○ CPU scheduling
○ Memory allocation
○ I/O operations
○ Device management
Real-world analogy:
📂 cd – Change Directory
cd projects
📄 ls – List Files
ls
🔗 ln – Hard Link
ln original.txt link.txt
● Both point to the same inode (same data)
💽 df – Disk Free
df -h
📊 du – Disk Usage
du -sh foldername
John 25 Developer
Asha 30 Designer
Ravi 28 Tester
awk '{print}' data.txt
🔢 wc – Word/Line Count
wc file.txt
sudo apt-get update Updates the list of available packages (does not
install)
🧾 Example Usage:
sudo apt-get update
✅ Tip: Always run sudo apt-get update before installing anything new.
🧾 Example Usage:
wget https://example.com/sample.zip
wget -c https://example.com/largefile.iso
🔐 Linux File Permissions
🧱 1. Permission Types
Each file or directory in Linux has three types of permissions:
🔢 2. Permission Categories
Each file has permissions for three categories of users:
Category Meaning
--- 0 No access
- Regular file
d Directory
l Symbolic link
c Character
device
b Block device
nohup
Purpose: Run a command in the background that doesn’t terminate even after you log out.
Syntax:
Example:
ps
ps
Example:
top
top
● Press q to quit.
ps -aux
ps -aux
● a: All users
● u: User info
kill
kill PID
Example:
kill 12345
scp
Example:
ssh
ssh user@remote_ip
Example:
uname -a
uname -a
● Shows kernel version, system architecture, etc.
whoami
whoami
pwd
pwd
🖥️ Using PuTTY
🔹 Download & Install:
1. Go to https://www.putty.org/
🔹 Usage:
● Open PuTTY
● Click “Open”
📂 Using WinSCP
🔹 Download & Install:
1. Go to https://winscp.net/
🔹 Usage:
● Open WinSCP
● Click “Login”
Format:
* * * * * /path/to/command
0 2 * * * /home/user/myscript.sh
nano greet.sh
#!/bin/bash
# Script to greet a user using input arguments
✅ Output:
Script Name: ./greet.sh
First Argument: Gowtham
Second Argument: DataEngineer
Hello, Gowtham! Your role is DataEngineer.
if [ -z "$1" ]; then
echo "Please provide a name"
exit 1
fi
🎁 Summary
● nano script.sh → Create script
✅ Conclusion
Congratulations! 🎉 You’ve successfully completed the Linux Master Course — a powerful
step toward becoming a confident and capable Linux user.
Whether you're a data engineer, developer, system admin, or student, your ability to navigate
and control a Linux environment gives you a strong foundation for any technical role.
But remember — real mastery comes from practice. So don’t stop here:
💻🚀
This is not the end — it's the beginning of your Linux journey.
Keep exploring. Keep building. Keep mastering.
Gowtham is also a mentor, blogger, and speaker, committed to building a strong community of
data professionals in regional languages. His mission is to make Data Engineering simple,
practical, and career-focused.
🔗 Website: www.dataengineeringtamil.com
📸 Instagram: @dataengineeringtamil
▶️ YouTube: youtube.com/@dataengineeringvideos
💼 LinkedIn: linkedin.com/in/sbgowtham
Thank You