Category Linux

Capture Ping Packets With Tcpdump

ICMP is a network layer protocol used by network devices to diagnose network communication issues. Tcpdump command on Linux can be used to capture network packets. We can use the following examples to capture ICMP and ICMPv6 packets with tcpdump…

Filtering DNS with Tcpdump on Port 53

If you’re a Linux system administrator, then you’re probably familiar with DNS, which is a critical component of networking.  TCPdump is a powerful Linux command that can help you capture and filter network packets. With TCPdump, you can analyze DNS…

Filtering ICMP Packets with Tcpdump

Tcpdump command in Linux can be used to capture ICMP packets. We will start with ICMP protocol introduction and then check out how to filter ICMP and ICMPv6 packets with tcpdump command. What is ICMP? ICMP is short for Internet…

Why “Free Memory” on Linux Is the Wrong Number to Watch

Ask a Linux server “how much memory is free?” and the honest answer is “it’s complicated.” Modern Linux deliberately uses almost all your RAM—for caches, buffers, and reclaimable structures—because unused memory is wasted memory. That’s why the number people fixate…

How Userdel Works In Linux

Userdel command can be used to delete a user and related files in Linux. In most Linux distributions, the user home and mail spool directories are not removed when removing a user account with userdel. We are going through the…

Linux tar Command: Create, Extract, and Search Archives

The tar command bundles multiple files and directories into a single archive. It’s similar to zip, with one key difference: zip files are always compressed, while tar files can be compressed but don’t have to be. The most common form you’ll see—.tar.gz—is a tar archive compressed with gzip. Basic…