ftp Command in Linux: Connect to Servers and Transfer Files

2 months ago

The ftp command in Linux connects to a remote FTP server and transfers files. FTP transmits everything in plain text: credentials and…

lsmod Command in Linux: List and Inspect Kernel Modules

2 months ago

The lsmod command in Linux lists all currently loaded kernel modules. It reads /proc/modules — a virtual file maintained by the kernel — and…

rename Command in Linux: Batch Rename Files with Perl Regex

2 months ago

The rename command in Linux renames multiple files at once using Perl regular expressions. Unlike mv, which handles one file at a time, rename applies…

pgrep Command in Linux: Find and Filter Running Processes

2 months ago

The pgrep command in Linux finds the PIDs of running processes based on a name or other criteria. It is part of…

unlink Command in Linux: Remove a Single File or Symlink

2 months ago

The unlink command in Linux removes a single file by deleting its directory entry. It is a thin wrapper around the unlink() POSIX system…

How to Check Open Ports in Linux: nmap, netcat, and Bash

2 months ago

When troubleshooting a network connection or configuring a firewall, the first question is whether a port is actually reachable. This…

ifconfig Command in Linux: Configure Network Interfaces

2 months ago

The ifconfig command in Linux displays and configures network interfaces. It can assign IP addresses, bring interfaces up or down, change MTU…

groupdel Command in Linux: Remove a Group and Audit Files

2 months ago

The groupdel command in Linux removes a group from the system. It deletes the group's entry from /etc/group and /etc/gshadow, but does not delete or…

wc Command in Linux: Count Lines, Words, Characters, and Bytes

2 months ago

The wc command in Linux counts lines, words, characters, and bytes in files or standard input. It is most useful in shell…

top Command in Linux: Monitor Processes and Resource Usage

2 months ago

The top command in Linux provides a real-time view of running processes and system resource usage. From a single interactive screen you…