1. ping Command
Tests connectivity to a remote host.
ping wizbrand.com
2. netstat Command
Displays network connections, routing tables, interface statistics, masquerade connections, and multicast memberships.
netstat -tuln
Output: –
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2024/03/image-2.png)
3. ss Command
Displays socket statistics.
Example :-
ss -tuln
4. ifconfig Command
Displays or configures network interfaces.
Example :-
ifconfig
5. ip Command
Provides extensive networking information.
Example :-
ip addr show
6. arp Command
Displays the ARP cache.
Example :-
arp -a
Output:-
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2024/03/image-3-1024x106.png)
7. route Command
Displays and manipulates the IP routing table.
Example :-
route -n
Output :-
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2024/03/image-4-1024x202.png)
8. dig Command
Performs DNS lookup and displays the response.
Example :-
dig wizbrand.com
Output:-
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2024/03/image-5.png)
9. host Command
Performs DNS lookup and displays the response.
Example :-
host wizbrand.com
Output:-
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2024/03/image-6-1024x280.png)
10. uptime Command:
Displays system uptime and load average.
Example :-
uptime
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2024/03/image-7-1024x125.png)
11. free Command
Displays free and used memory in the system.
free -m
Output:-
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2024/03/image-8-1024x183.png)
12 df Command
Displays disk space usage.
Example :-
df -h
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2024/03/image-10-1024x406.png)
13 du Command
Displays disk usage of files and directories.
Example :-
du -sh htdocs
Output:-
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2024/03/image-11-1024x260.png)
14. ps Command
Displays a snapshot of current processes.
Example:-
ps aux
Output:-
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2024/03/image-12-1024x495.png)
15. top Command
Displays real-time information about system processes and resource usage.
Example:-
top
Output:-
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2024/03/image-13-1024x576.png)
16 htop Command:
Interactive process viewer.
Example :-
htop
Output:-
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2024/03/image-14-1024x576.png)
17. lsof Command
Lists open files and the processes that opened them.
lsof
Output:-
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2024/03/image-15-1024x218.png)
18. strace Command
Traces system calls and signals.
strace -p PID
19. dmesg Command
Displays kernel ring buffer messages
dmesg
Output:-
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2024/03/image-16-1024x526.png)
20. journalctl Command
Views system logs (systemd).
Example:-
journalctl -xe
Output:-
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2024/03/image-17-1024x498.png)
21. lsmod Command
Lists loaded kernel modules
Example:-
lsmod
Output:-
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2024/03/image-18.png)
22. tcpdump Command
Captures and displays network packets.
Example:-
tcpdump -i eth0
Output:-
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2024/03/image-19-1024x161.png)
23. iftop Command
Displays bandwidth usage on an interface.
Example:-
iftop -i eth0
Output:-
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2024/03/image-20-1024x130.png)
24. nmap Command:
Network exploration tool and security scanner.
nmap -p 1-1000 wizbrand.com
Output:-
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2024/03/image-21-1024x480.png)
25. route Command
Manually manipulates the IP routing table
route -n
Output:-
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2024/03/image-22-1024x271.png)
26. vmstat Command
Displays virtual memory statistics.
Example:-
vmstat 1
Output:-
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2024/03/image-23-1024x451.png)
27 sar Command
Collects, reports, and saves system activity information.
Example:-
sar -u 1
Output:-
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2024/03/image-24-1024x282.png)
28. lscpu Command
Displays information about the CPU architecture
Example:-
lscpu
Output:-
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2024/03/image-25-1024x518.png)
29. lsblk Command
Lists block devices.
Example:-
lsblk
Output:-
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2024/03/image-26-1024x338.png)
30 lsusb Command
Lists USB devices.
Example:-
lsusb
Output:-
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2024/03/image-27-1024x186.png)
Thanks for reading 👍👍