Learn how to use the Linux eject command to safely remove removable media, including its syntax, available options, and step‑by‑step examples for ejecting CD‑ROMs, SCSI devices, floppy disks, and tape drives, even when they are mounted.
This guide explains how to use the Linux history command to display past commands, manipulate the history list with options like clearing, appending, reading, writing, deleting entries, and provides practical examples and key notes for effective shell command management.
Learn how to use the Linux bash alias command to create, list, and manage command shortcuts, understand its temporary nature, and make aliases permanent by editing the appropriate initialization files such as /etc/bashrc or ~/.bashrc, with practical examples included.
This guide explains how to use the built‑in unalias command in Bash to delete individual or all command aliases, shows the syntax and common options, provides practical examples, and highlights important considerations when running scripts that modify alias settings.
Learn how to use the Linux watch command to run any command at regular intervals, customize its behavior with options like -n, -d, and -t, and see practical examples such as monitoring memory usage and tracking file changes.
Learn how the Linux printf command mimics C's printf function to format and output text, understand its syntax and options, and explore practical examples ranging from simple string printing to complex formatted tables using format specifiers and custom scripts.
Learn how to use the Linux echo command to display strings and variables, explore its syntax and options like -n and -e, and discover advanced techniques for colored, formatted, and escaped output through practical examples.
This guide explains how to use the lspci command to display all PCI bus information, interpret its common options, and provides practical examples for listing devices, showing detailed info, and filtering by vendor, class, or connection type.
This article explains three methods for locating duplicate files on Linux—using a complex find‑pipeline, installing the cross‑platform dupeGuru tool, and a step‑by‑step breakdown of each command in the pipeline—complete with code snippets and usage tips.
This guide curates essential open‑source terminal utilities—including Windows Terminal, iTerm2, oh‑my‑zsh, powerline, file managers, vim enhancements, and command‑line helpers like exa, fd, bat, fzf, tldr, The Fuck, and w3m—explaining their key features and where to obtain them, helping developers feel like 10× programmers.
This article introduces a curated collection of powerful command-line utilities—including faster search tools, interactive Git viewers, JSON processors, shell checkers, fuzzy finders, system monitors, multi-threaded downloaders, file transfer helpers, code counters, terminal multiplexers, session recorders, and multi‑log tailers—to streamline development and operations workflows on Linux.
This article explains how Netflix's performance team uses ten standard Linux command‑line tools—uptime, dmesg, vmstat, mpstat, pidstat, iostat, free, sar, and top—to quickly assess system health, resource saturation and errors within the first minute of a performance incident.
This article presents five beginner-friendly Python projects— a command‑line Rock‑Paper‑Scissors game, a random password generator, a dice‑rolling simulator, an automatic email sender, and an alarm clock—each with clear objectives, implementation tips, and complete source code examples.
This guide shows why files whose names begin with a dash cannot be removed with a regular rm command and demonstrates the correct use of the '--' option to delete such files safely on a Linux system.
This guide explains how to use the Linux findmnt command—including installation, default listing, real‑time monitoring, df‑style output, list format, fstab parsing, label evaluation, and filesystem‑type filtering—providing practical examples and command syntax for system administrators.
This guide provides a comprehensive collection of Docker commands for inspecting Docker versions, handling images (listing, searching, pulling, deleting, building), and managing containers (starting, stopping, logging, attaching, executing, committing, and copying files), offering a practical reference for developers and operations engineers.
This guide explains how to use grep's powerful options such as -v, -w, -e, -E, --exclude-dir, and --exclude to filter out specific words, patterns, and directories, providing clear command examples for precise text searching in Unix-like environments.
This guide explains how to install the Go‑based Ascii Image Converter on Linux, use it to transform JPEG, PNG, BMP, WEBP, or TIFF files (or URLs) into monochrome or colored ASCII art, and customize output size, character sets, and saving options.
This article presents a complete Python‑based seat reservation system that uses PySide2 to build an interactive graphical interface for selecting and booking seats, stores configuration and occupancy data in JSON files, and provides command‑line utilities for checking in, checking out, making reservations, and handling temporary leaves, illustrating both front‑end UI design and back‑end logic in a single project.
The article introduces the command‑line utility q, explains how to install it on Linux and Windows, and demonstrates using familiar SQLite‑style SQL queries to search, filter, join, and aggregate log files and command output, offering a convenient alternative to traditional shell tools.
This guide presents 27 practical Linux command‑line techniques—from safe file deletion and alias management to cursor shortcuts, process monitoring, log handling, and advanced scripting—helping power users work faster and avoid common pitfalls.
This article introduces the command‑line utility q, explains how to install it on Linux and Windows, and demonstrates using full SQLite‑compatible SQL syntax to query, filter, join, and aggregate plain‑text log files, offering a database‑style alternative to traditional shell tools.
This guide explains why large files often need to be divided for network transfer on Linux, and provides step‑by‑step commands and options for using the split utility to cut files into smaller pieces and the cat command to recombine them efficiently.
This guide explains the three Unix file timestamps, shows how to view them with stat, and demonstrates using the find command’s ‑newerXY option to locate files modified, accessed, or status‑changed after a specific date and time.
This article explains the purpose and behavior of key shell special parameters—$*, $@, $#, $$, and $!—through three practical scripts that demonstrate expanding positional arguments, counting arguments, and accessing process IDs, complete with code snippets and expected output.
This tutorial demonstrates how to add lightweight progress bars to Python command‑line scripts and PySimpleGUI applications using four popular libraries, providing code snippets, visual examples, and tips for customizing bar types and animations.
This guide explains how the Linux shell stores command history, how to view, search, repeat, and manage entries, and shows practical techniques—including timestamps, size limits, custom file names, and disabling history—to improve productivity and auditability.
This article presents a collection of fifteen practical Linux command‑line techniques—including fast file clearing, large file generation, secure disk wiping, process timing, log monitoring, timestamp conversion, and history shortcuts—to help users automate tasks and work more efficiently.
This article explains how to efficiently use the Linux history command, covering its underlying mechanism, basic usage, repeat execution, searching, interactive search, timestamp display, history size control, file name changes, disabling history, and a useful security tip, helping administrators improve productivity and auditability.
The PHP function readline_clear_history() removes the entire command line history, returning TRUE on success and FALSE on failure, providing a simple way to clear stored input lines during interactive sessions and can be used in scripts that require privacy of entered commands.
This guide outlines critical precautions and best‑practice tips for executing risky Linux commands—such as rm, chmod, cat, dd, tar, and MySQL—by verifying environments, backing up data, using safe aliases, and avoiding common pitfalls that can cause catastrophic data loss.
This article explains the PHP readline() function, its purpose for reading a line of user input, the optional prompt parameter, return value details, and provides a complete example demonstrating reading commands, adding them to history, and displaying history and variable information.
This tutorial introduces awk as a versatile Linux text‑analysis tool, explains its execution model (BEGIN, body, END), demonstrates practical commands for reporting, filtering, formatting, and advanced scripting, and provides numerous code snippets and visual examples to help readers quickly apply awk in real‑world scenarios.
This guide introduces eighteen entertaining Linux command‑line tools—ranging from the train‑displaying sl to the matrix‑style cmatrix—detailing their installation, usage options, and playful effects, while also offering tips for creative combinations and safety warnings.
This guide introduces a collection of entertaining Linux command‑line utilities—such as sl, fortune, cowsay, cmatrix, figlet, oneko, xeyes, yes, cal, shred, factor and more—providing installation steps, usage examples, options, and illustrative screenshots for each.
The article introduces duf, a Go‑based disk usage and free space viewer for Unix‑like systems, explains its features such as colored, resizable output, sorting and JSON mode, and provides step‑by‑step installation instructions for Debian/Ubuntu, RPM‑based distros, Arch AUR, Termux, macOS, FreeBSD, and Windows, plus usage examples and customization options.
This guide introduces essential Linux commands—cat, more, less, head, tail, and grep—for viewing and searching file contents, explaining their options, typical usage examples, and key differences to help users efficiently navigate and inspect files from the terminal.
This guide introduces the powerful Linux grep command, explains its regex-based searching capabilities, and walks through ten hands‑on examples—including filtering by keywords, context lines, line numbers, and exclusion—followed by a concise reference of the most useful grep options.
This guide shows Linux administrators how to use the versatile find command to locate files by name, type, size, modification time, permissions, and combined criteria, and demonstrates common actions such as listing, deleting, and executing commands on the results.
This guide walks you through installing the interactive TLDR client Tldr++, explains its usage for quickly learning Linux commands, and demonstrates a complete workflow of downloading, extracting, and moving files—all without leaving the terminal.
This guide explains four practical Linux commands—stat, stat with a custom format, date with the -r option, and ls -lt—to display a file’s last modification timestamp, and also shows how to retrieve remote file dates using the httpie tool.
This guide explains how to use the Linux basename utility to strip directory paths and suffixes from filenames, covering its basic syntax, useful options like -z, -a, and -s, handling multiple files, removing extensions, and embedding it in shell scripts.
This guide provides a concise reference of curl's most useful command‑line options, explaining how to customize headers, handle cookies, send data, manage redirects, control output, and debug requests for efficient web and API interactions.
This guide explains how to use curl for sending GET, POST, and other HTTP requests, covering headers, data payloads, authentication, file uploads, and submitting data from files with clear command examples.
This article introduces cheat.sh, a lightweight command‑line cheat sheet that covers over 58 programming languages, numerous DBMS, and more than a thousand Unix/Linux commands, and explains how to query it with curl, use its CLI client, shell and stealth modes, and integrate it with popular editors.
This guide provides a concise reference of curl’s most commonly used command-line options—including setting user agents, handling cookies, sending POST data, uploading files, managing redirects, limiting bandwidth, and debugging—offering developers a quick cheat‑sheet to replace graphical tools like Postman.
This guide explains how to use the jstat command-line tool to monitor Java Virtual Machine performance metrics such as garbage collection, memory usage, and compilation time, detailing its syntax, options, intervals, counts, and providing concrete examples with expected outputs.
This tutorial explains Linux file and directory permissions, the chmod command syntax, numeric and symbolic modes, and provides step‑by‑step examples—including recursive changes, reference files, and selective execution—so readers can confidently manage access rights on any Unix‑like system.
This article introduces ten useful but often overlooked Linux commands—pgrep, pstree, bc, split, nl, mkfifo, ldd, col, xmlwf, and lsof—explaining their purpose, typical use cases, and providing concrete examples to help system administrators work more efficiently.
This guide walks you through two methods for installing the Exa command‑line tool on various Linux distributions, explains required dependencies, shows step‑by‑step commands for binary and source installations, and demonstrates common usage options with practical examples.
This article introduces five handy command‑line utilities—a Netty‑based Dou Dizhu game, a Go‑based novel reader, a Rust‑based GitHub trending viewer, a Python‑based Zhihu client, and a Bash Tetris game—each with installation steps, usage commands, and quick‑start tips for developers looking to unwind.
This guide explains how to use the versatile netcat (nc) command for checking occupied ports, scanning port ranges, testing TCP/UDP connections, retrieving HTTP headers, transferring files, and measuring network throughput, complete with practical examples and useful options.
This guide presents an extensive collection of Linux commands covering file and directory operations, content viewing, compression, system information, networking, user management, permissions, process control, and system monitoring, each explained with its purpose and typical usage in clear English.
This article presents a collection of practical Linux system‑administration techniques—from unmounting a stuck DVD drive and resetting a frozen console to using screen sharing, SSH tunnels, VNC forwarding, bandwidth testing, and automated scripting—each designed to save time, improve troubleshooting speed, and increase overall operational productivity.
This article compiles a comprehensive list of frequently used Linux commands, revealing the full meanings behind their abbreviations and explaining what each command does, providing a handy reference for developers, system administrators, and anyone working with Unix-like environments.
A concise collection of Linux command-line one‑liners demonstrates how to extract IPv4 addresses, disk usage, user information, permissions, and pattern matches using regular expressions and tools like ifconfig, df, cat, cut, sort, and egrep.
This article introduces a collection of essential Linux/macOS command‑line tools—such as find, grep, awk, sed, and others—explaining their key options and demonstrating practical examples like log analysis, database URL correction, and bulk file processing to dramatically improve everyday developer productivity.
This article explains how Python’s -m option lets you run modules as scripts, provides dozens of practical command‑line examples, delves into the underlying mechanism of __main__ execution, and shows why using -m is a more convenient way to invoke Python tools.
This guide explains how to use the powerful grep command to search for multiple strings simultaneously, covering basic, extended, and Perl-compatible regular expressions, the OR operator syntax, case‑insensitive searches, whole‑word matching, and practical examples for log file analysis.
This article presents ten common Linux shell interview questions, providing clear explanations, command-line solutions, code examples, and step‑by‑step guidance on script termination, file header removal, line length checking, non‑printable character display, directory permissions, process states, cut, cmp vs diff, echo vs ls, and inode basics.
This guide explores Bash's built‑in history command, revealing hidden features like event designators, string search, relative indexing, and quick substitution to boost shell productivity.
This guide explains the difference between Linux environment and shell variables, shows how to view, set, export, and unset them with commands like env, printenv, export, unset, and demonstrates how to make variables persistent by editing common startup files such as /etc/profile and ~/.bashrc.
This guide explains how the Linux ps command works, details its most useful options for listing, filtering, sorting, and formatting process information, and shows how to combine it with tools like watch, less, and pstree for real‑time and hierarchical views.
This guide explains the drawbacks of fixed positional parameters in shell scripts, demonstrates simple examples, and introduces the getopts utility to handle named options, optional arguments, and error suppression, enabling more flexible, readable, and maintainable command-line interfaces.
This guide explains what Bashtop is, its features, prerequisites, and provides step‑by‑step instructions for installing it on various Linux distributions (Ubuntu, Debian, Fedora, CentOS/RHEL, Arch) as well as macOS and FreeBSD, plus usage tips and configuration details.
This article introduces essential Linux command‑line utilities such as history, apropos, and ZSH, explains how to use them with practical examples, and suggests cheat‑sheet methods to help users efficiently recall and discover commands without memorizing every syntax.
This guide explains the Linux cut command, covering its basic syntax, essential options such as field, delimiter, byte and character extraction, and advanced features like complement and custom output delimiters, with step‑by‑step examples and notes on limitations.
This article reviews six contemporary Linux command‑line utilities—ncdu, htop, tldr, jq, fd, and other alternatives—that improve usability, speed, and functionality compared with traditional tools like du, top, man, grep, and find, providing installation commands and usage examples.
This guide explains why the standard cat command lacks syntax highlighting, introduces the ccat utility that adds colored output for many programming languages, and provides step‑by‑step installation instructions for Arch and other Linux distributions, along with practical usage examples and troubleshooting tips.
This article explains the differences between the common ls command and its lesser‑known counterparts dir and vdir, showing how each can list directory contents, handle hidden files, format output, and avoid performance pitfalls in scripts, while also covering color options and practical examples.
This guide introduces ten useful Linux command‑line tools—including pgrep, pstree, bc, split, nl, mkfifo, ldd, col, xmlwf, and lsof—explaining their purpose, typical usage patterns, and providing concrete command‑line examples to help users manage processes, files, and system information efficiently.
This article presents ten common Linux shell interview questions, each followed by clear explanations and exact command‑line solutions—including script termination, file header removal, line length checking, non‑printable character display, directory permissions, process states, cut usage, cmp vs diff, echo vs ls, and a brief overview of inodes.
This guide walks you through installing the Z shell (zsh) on Linux, adding the popular Oh‑My‑zsh framework, and configuring key plugins such as syntax highlighting, autosuggestions, and fzf to streamline command‑line work and improve productivity.
This article introduces the howdoi tool—a lightweight command‑line Q&A utility that lets Linux users ask natural‑language questions and instantly receive concise command tutorials, installation steps, flag options, and example usages, all sourced from AskUbuntu.
This guide explains how to install the howdoi command‑line utility, use its natural‑language queries to retrieve Linux command tutorials, and leverage options for multiple answers, verbose output, and custom queries, all with a few simple shell commands.
This guide introduces the essential Linux file‑search utilities—find, locate, which, and whereis—explaining their core syntax, speed trade‑offs, database dependencies, and useful options so you can quickly locate scripts, executables, source files, and manuals on any system.
This guide explains how to use the Linux grep command with common options and regular‑expression patterns, providing step‑by‑step examples that demonstrate counting matches, case‑insensitive searches, inverse matches, anchoring, character classes, and quantifiers.
This guide explains the Linux grep command, covering its core syntax, most useful options, and a dozen practical regular‑expression examples that demonstrate how to search, filter, and manipulate text files efficiently from the command line.
This guide explains the powerful Linux grep command, its syntax and common options, and provides step‑by‑step examples demonstrating how to use regular expressions for precise text searching and filtering in shell environments.
This guide introduces a collection of classic Linux debugging utilities—including file, ldd, ltrace, hexdump, strings, readelf, objdump, strace, nm, and gdb—explaining their purpose, typical usage, and providing concrete command‑line examples to help developers troubleshoot binaries and libraries efficiently.
This guide introduces BaiduPCS‑Go, a cross‑platform command‑line client for Baidu Cloud that bypasses speed limits, outlines its key features, shows how to download and run it on Windows, and also recommends the web‑based BaiduPCS‑Web alternative with installation steps and usage tips.
This guide shows how to create a lightweight, recursive file‑search script for Linux that mimics the Windows Everything tool, explains each part of the shell code, and demonstrates how to run it, enable case‑sensitivity, search specific paths, and bind it to a custom alias.
Discover seven practical Vim techniques—including key remappings, efficient cursor navigation, Git integration, test automation, and powerful substitution commands—that help both beginners and seasoned users boost productivity and streamline their development workflow.
This article provides a concise cheat‑sheet of common Docker commands—including image management, container lifecycle, networking, resource limits, and registry operations—explaining each option and showing practical usage examples for developers and DevOps engineers.
This article presents eleven practical Linux terminal techniques—including essential keyboard shortcuts, sudo shortcuts, background job handling, nohup, at scheduling, man page tweaks, htop, ranger, shutdown cancellation, process killing, and YouTube video downloading—to help users work faster and manage their systems more efficiently.
Discover a curated list of 11 powerful Linux terminal commands and shortcuts—including clipboard tricks, sudo shortcuts, background execution, scheduling, process management, file browsing, shutdown cancellation, and YouTube video downloading—to dramatically boost your productivity and streamline everyday tasks.
GitHub CLI (gh) is a cross‑platform command‑line tool that lets developers clone repositories, filter issues, manage pull requests, create branches, and monitor PR status directly from the terminal, streamlining open‑source contributions on macOS, Windows, and Linux.
Learn how to quickly locate, filter, and rename files on Linux using concise ls, find, du, and rename commands, plus practical examples that cut down search time, reveal the largest items, count directory contents, and automate batch renaming.
This guide walks you through installing the ‘motivate’ and ‘fortune’ command‑line tools on Debian‑based and RPM‑based Linux distributions, configuring them to display random motivational or witty quotes each time you open a terminal, and shows how to keep them updated.
Learn the complete process to safely remove Nginx from a Linux system, including stopping the service, locating and deleting all related files, disabling auto-start, and preparing for a fresh reinstall, with clear command examples and visual aids.
This guide explains how to open the Windows command prompt and provides clear usage examples for essential commands such as ping, tracert, ipconfig, route, netstat, telnet, common DOS commands, shortcut utilities, and creating custom cmd shortcuts for efficient system administration.
This article compiles more than seventy practical Git commands and techniques, explains core concepts such as working directory, staging area, and commit IDs, and provides ready‑to‑use snippets for everyday version‑control tasks, all backed by the open‑source git‑tips and HelloGitHub projects.
This article introduces the Linux ‘di’ command‑line utility, compares it with the traditional df tool, and provides a step‑by‑step tutorial covering its most useful options, output formats, sorting capabilities, and practical advantages and drawbacks for system administrators.
This tutorial explains how to use the yum update command on RPM‑based Linux systems, covering basic usage, repository handling, useful options like --nogpgcheck and --exclude, how to roll back updates, troubleshoot failures, and automate notifications with yum‑cron.
This guide introduces the powerful Linux find command, explaining its syntax, common options such as -name, -type, -perm, and actions like -print, -exec, and -ok, and provides numerous practical examples for searching files by name, path, permissions, type, size, time, and executing commands on matches.
This guide explains how to use the Linux logger utility to manually add, tag, prioritize, and forward messages to local or remote syslog files, including examples for quoting, reading from files, setting process IDs, and limiting message size.
This guide explains how to use the Linux grep command to search text patterns in files, covering basic syntax, absolute and relative paths, practical examples, and a comprehensive list of useful options such as -n, -h, -l, -R, -i, -c, -w, -v, and --exclude-dir.
This article collects a variety of unconventional commands and tricks—from killing the Vim process to using Docker, timeout aliases, and even a playful Bash one‑liner—to force Vim to quit, while warning readers about the risks of such approaches.
This article introduces twenty powerful Linux command‑line utilities—from fast recursive search tools and interactive Git viewers to code formatters, process monitors, and smart auto‑correction helpers—explaining their core functions, typical use cases, and example commands to streamline development and system administration tasks.
This comprehensive guide explains how to use the Linux find command for locating directories, hidden files, size‑specific files, recent modifications, permission‑set files, and more, while also covering performance tuning, error handling, and sorting results.