LinuxHow to View and Modify Environment Variables Using the env Command in Linux
When you are writing complex bash scripts or deploying software on a Linux server, the...
LinuxHow to Evaluate Expressions Using the expr Command in Linux
Before bash scripts natively supported arithmetic expansion (using the $(( ... )) syntax), Linux administrators...
LinuxHow to Format Terminal Text Colors Using the tput Command in Linux
When you are writing a complex bash script that outputs paragraphs of text to the...
LinuxHow to Create and Extract Archives Using the ar Command in Linux
Before the widespread adoption of tar for general file compression, Unix systems relied on the...
LinuxHow to View ELF File Information Using the readelf Command in Linux
When you download a compiled binary executable or a shared library on a Linux system,...
LinuxHow to Print the Number of Processing Units Using the nproc Command in Linux
When you are compiling a massive software project from source code (like a custom Linux...
LinuxHow to View Logged-in Users and Active Processes Using the w Command in Linux
When managing a multi-user Linux server (such as a shared university mainframe or a corporate...
LinuxHow to Compare and Merge Three Files Using the diff3 Command in Linux
When multiple developers are working on the same source code file simultaneously, conflicts are inevitable....
LinuxHow to Create and Extract Archives Using the cpio Command in Linux
When dealing with massive tape backups or legacy Unix software repositories, you will often encounter...
LinuxHow to Compare Compressed Archives Using the bzdiff Command in Linux
If you have backed up two slightly different versions of a massive SQL database dump...
LinuxHow to Search Compressed Files Using the bzgrep Command in Linux
When you are managing a Linux server, massive application logs (like Apache access logs or...
LinuxHow to View a Process Memory Map Using the pmap Command in Linux
When a background daemon or a memory-intensive application (like a database server or a Java...
LinuxHow to View Binary Files Using the od Command in Linux
When you are inspecting binary executable files, compiled C object files, or raw memory dumps...
LinuxHow to Create Self-Extracting Executables in Linux Using the gzexe Command
When you compile a large binary executable on a Linux system, it can often consume...
LinuxHow to View File Contents in Hexadecimal Using the hexdump Command in Linux
When you need to analyze the raw, underlying data of a compiled binary, a corrupted...
LinuxHow to Print Logged-In Usernames Using the users Command in Linux
When you are managing a multi-user Linux server, it is critical to know exactly who...
LinuxHow to Print a Machine’s Numeric Identifier Using the hostid Command in Linux
In complex network environments or cluster configurations, administrators occasionally need a way to uniquely identify...