⌨ Linux Commands

⬅ Linux Hub 🌐 Technology Hub 🏠 Home

⌨ Essential Linux Commands

Learn the Most Important Linux Commands for Real World Usage

📖 What are Linux Commands?

Linux Commands are instructions used to interact with the Linux Operating System through the Terminal.

Linux Command Line = Powerful System Control

📂 Navigation Commands

pwd
ls
ls -l
ls -a
cd
cd ..
cd /

📁 File Management Commands

touch file.txt
cp file1 file2
mv file1 file2
rm file.txt
mkdir test
rmdir test

📖 File Viewing Commands

cat file.txt
more file.txt
less file.txt
head file.txt
tail file.txt
tail -f logfile.log

🔍 Search Commands

find / -name file.txt
locate file.txt
grep network file.txt
which ping
whereis ssh

👥 User Commands

whoami
id
passwd
useradd test
userdel test
groupadd network

⚙ System Information Commands

uname -a
hostname
date
uptime
free -m
df -h
du -sh

🌐 Networking Commands

ping 8.8.8.8
ifconfig
ip addr
ip route
netstat -an
ss -tuln
traceroute google.com
nslookup google.com

🛠 Process Commands

ps
ps -ef
top
htop
kill PID
kill -9 PID

🔐 Permission Commands

chmod 755 file.sh
chmod 777 file.sh
chown user file.txt
chgrp group file.txt

📦 Package Management

apt update
apt upgrade

yum update

dnf update

🚀 Service Commands

systemctl status ssh
systemctl start ssh
systemctl stop ssh
systemctl restart ssh

🌍 Real World Usage

✔ Server Administration

✔ Network Monitoring

✔ Telecom Systems

✔ Cloud Infrastructure

✔ Cyber Security

✔ Data Centers

🎤 Interview Questions

What is pwd command?

Difference between cp and mv?

What is grep?

How to check IP Address in Linux?

How to kill a process?

What is chmod?

What is systemctl?

How to view running processes?

Difference between top and ps?

How to check disk usage?

📝 Summary

Linux Commands are the foundation of Linux Administration, Networking, Cloud Computing and Cyber Security.

Mastering these commands will help you become a System Administrator, Network Engineer or DevOps Professional.

🚀 Next Lesson

⚙ Linux Administration →