When you share a server with a team or investigate unexpected activity, the first question is simple: who is on…
The file command inspects the actual contents of a file and reports its type — regardless of the name or extension. A…
chattr sets and removes special file attributes that operate at the filesystem level, separate from standard permission bits. You can mark…
env prints the current environment, sets or removes variables for a single command, and can start a process with an entirely…
nmap (Network Mapper) discovers live hosts, identifies open ports, and detects which service is running behind each one. It is…
The id command prints user and group identity for any account on the system. It shows the real user ID, primary group…
sed processes input line by line, applies your commands, and writes the result to standard output. The original file stays untouched…
Linux provides two main tools for renaming directories: mv for single renames and the rename utility for batch pattern-based operations. How to Rename a…
The w command in Linux shows who is currently logged in to the system and what each user is doing. It combines…
The sysctl command reads and modifies Linux kernel parameters from the command line. Changes take effect immediately at runtime but are not…