$linuxjunkies
>
>_

Command Line

The shell, Bash scripting, text processing, SSH, tmux, git and power-user tooling.

Command Line· 9 min read

How to Write Portable POSIX Shell Scripts

Write shell scripts that run correctly under dash, BusyBox sh, and Bash by avoiding Bashisms, using POSIX constructs, and linting with shellcheck.

IntermediateUbuntuDebianFedoraArch
Command Line· 9 min read

How to Write Bash Functions Properly

Learn to write reliable bash functions: safe argument handling, correct return values, proper use of local, error handling with set -e, and clean naming conventions.

IntermediateUbuntuDebianFedoraArch
Command Line· 6 min read

How to Use tldr for Quick Command Help

Install tealdeer or the Node.js tldr client, populate the offline cache, and look up practical command examples faster than man pages allow.

BeginnerUbuntuDebianFedoraArch
Command Line· 7 min read

How to Use ripgrep (rg) Instead of grep

ripgrep (rg) is a fast, Rust-powered grep replacement with gitignore support built in. Learn installation, regex syntax, and the most useful flags.

BeginnerUbuntuDebianFedoraArch
Command Line· 9 min read

How to Use jq for JSON on the Command Line

Learn to filter, transform, and reshape JSON on the command line with jq — covering selectors, map/select, object construction, and real API pipelines.

IntermediateUbuntuDebianFedoraArch
Command Line· 8 min read

How to Use fzf, the Fuzzy Finder

Install and configure fzf to fuzzy-search files, shell history, processes, and git branches — with shell integration for Bash, Zsh, and Fish.

IntermediateUbuntuDebianFedoraArch
Command Line· 7 min read

How to Use fd Instead of find

Learn to use fd, the modern find alternative: friendlier syntax, smart defaults, .gitignore support, and parallel command execution with --exec.

BeginnerUbuntuDebianFedoraArch
Command Line· 7 min read

How to Use bat as a Better cat

Learn how to use bat as a modern replacement for cat, with syntax highlighting, line numbers, paging control, and Git diff integration on Linux.

BeginnerUbuntuDebianFedoraArch
Command Line· 9 min read

Master Vim: A Practical Path Beyond the Basics

Go beyond the basics: master Vim buffers, registers, macros, and the help system, then add only the plugins that genuinely earn their place.

IntermediateUbuntuDebianFedoraArch
Command Line· 10 min read

How to Learn Regular Expressions on Linux

Learn regex on Linux from the ground up: character classes, anchors, quantifiers, and hands-on practice with grep, sed, awk, and ripgrep.

BeginnerUbuntuDebianFedoraArch
Command Line· 12 min read

X11 Programming with the Athena Widgets

Build a working X11 GUI application using Xlib, the Xt Intrinsics, and the Athena widget set — covering the full stack from wire protocol to compiled binary.

AdvancedUbuntuDebianFedoraArch
Command Line· 9 min read

X11 Pixmaps and Bitmaps

Learn X11 XPM and XBM image formats: file structure, creation with ImageMagick, loading via Xlib/libxpm in C, viewing tools, and when to migrate to PNG or SVG.

AdvancedUbuntuDebianFedoraArch
Command Line· 10 min read

Writing Technical Documentation (the Linux way)

Write and publish Linux technical documentation using Markdown, AsciiDoc, man pages, DocBook, pandoc, and MkDocs—with CI integration and practical examples.

IntermediateUbuntuDebianFedoraArch
Command Line· 8 min read

Vim for Beginners

Learn Vim's modal editing model from scratch: modes, movement, editing, saving, search, and the essential commands every Linux user needs to know.

BeginnerUbuntuDebianFedoraArch
Command Line· 9 min read

How to Use tmux

Master tmux sessions, windows, panes, detach/reattach, and a practical ~/.tmux.conf so you can manage persistent terminal workflows like a pro.

IntermediateUbuntuDebianFedoraArch
Command Line· 10 min read

SSH: The Complete Guide

Master SSH from first login to port forwarding: key-based auth, client config files, the SSH agent, and local/remote tunnels on any Linux distribution.

BeginnerUbuntuDebianFedoraArch
Command Line· 10 min read

A Practical Guide to sed and awk

Learn sed and awk through practical examples: substitutions, in-place edits, field splitting, pattern-action programs, and real pipeline use cases.

IntermediateUbuntuDebianFedoraArch
Command Line· 9 min read

Pipes and Redirection in Bash

Master Bash pipes and redirection: learn stdin, stdout, stderr, |, >, >>, 2>&1, /dev/null, tee, xargs, and how to build reliable command pipelines.

BeginnerUbuntuDebianFedoraArch
Command Line· 9 min read

How to Monitor Processes on Linux

Learn to monitor Linux processes with ps, top, htop, and btop. Covers reading process states, killing processes safely, and tuning CPU priority with nice/renice.

BeginnerUbuntuDebianFedoraArch
Command Line· 9 min read

Master the grep Command

Learn grep from plain string searches to recursive directory scans, regular expressions, context flags, and practical log-analysis one-liners on Linux.

BeginnerUbuntuDebianFedoraArch
Command Line· 9 min read

The Linux Command Line for Absolute Beginners

Learn the Linux command line from scratch: what the shell is, how to navigate with cd/ls/pwd, manage files, and master your first essential commands.

BeginnerUbuntuDebianFedoraArch
Command Line· 12 min read

GTK GUI Programming on Linux

Build, run, and package GTK4 applications on Linux using C and Python. Covers the GObject model, signals, Meson builds, .desktop files, and Flatpak.

AdvancedUbuntuDebianFedoraArch
Command Line· 9 min read

Git from the Command Line

Learn Git from the terminal: install, configure, init or clone a repo, stage and commit changes, create branches, merge, and push to a remote.

BeginnerUbuntuDebianFedoraArch
Command Line· 9 min read

How to Find Files on Linux

Learn to find files on Linux using find, locate, and fd — covering searches by name, size, modification time, and running actions on results.

BeginnerUbuntuDebianFedoraArch
Command Line· 9 min read

Cron Jobs Explained

Master cron job scheduling on Linux: full crontab syntax, environment variables, output logging, and when to use systemd timers instead.

BeginnerUbuntuDebianFedoraArch
Command Line· 12 min read

C Serial Port Programming on Linux

Learn to open /dev/ttyS* and /dev/ttyUSB* in C, configure raw mode with termios, handle blocking reads, and debug serial link problems on Linux.

AdvancedUbuntuDebianFedoraArch
Command Line· 10 min read

A C Programming Tutorial for Linux

Learn C on Linux from hello-world through gcc flags, header files, multi-file projects, make, and the standard library — with real commands and examples.

BeginnerUbuntuDebianFedoraArch
Command Line· 10 min read

C Pointers Explained

Understand C pointers from first principles: addresses, dereferencing, pointer arithmetic, arrays, common bugs like null dereferences and dangling pointers, and how to use ASan and Valgrind.

IntermediateUbuntuDebianFedoraArch
Command Line· 9 min read

Bash Scripting for Beginners

Learn Bash scripting from scratch: shebang lines, variables, conditionals, loops, and arguments, plus a real backup script to tie it all together.

BeginnerUbuntuDebianFedoraArch
Command Line· 9 min read

Bash Loops: for, while and until

Learn all three Bash loop types — for, while, and until — with practical, copy-paste examples covering file iteration, counting, polling, and safe line reading.

BeginnerUbuntuDebianFedoraArch