Bash String Contains: Wildcard, Regex & grep -q Reference
Master Bash string contains: wildcard, case, =~ regex, grep -q. Compare performance across all four methods. Practical examples, exit codes, and troubleshooting
Welcome! I’m Thomas Heinrich, a software engineer and system administrator with a deep passion for the Command Line Interface (CLI). With years of experience navigating the terminal, building backend architectures, and automating server deployments, I created this space to share practical, real-world terminal knowledge.
Whether you are a beginner taking your first steps in a Linux environment or a seasoned DevOps engineer looking to optimize your deployment scripts, you will find actionable solutions here. My goal is to help you ditch the mouse, speed up your workflow, and harness the full power of the command line.
Master Bash string contains: wildcard, case, =~ regex, grep -q. Compare performance across all four methods. Practical examples, exit codes, and troubleshooting
Dst
Mounts source and destination as PSDrives with explicit credentials
ADSI Edit (adsiedit.msc) is the MMC snap-in for low-level Active Directory attribute editing. Use it when native tools fail; always back up first.
Learn how to escape double quotes in PowerShell using backtick (`), doubling, and here-strings. Real syntax, examples, and troubleshooting for admins.
List IAM roles using the AWS CLI. Syntax, options, examples, and troubleshooting for aws iam list-roles. Production-grade reference for DevOps and SysAdmins.
Configure Cisco switch port mirroring (SPAN) to copy traffic for analysis. Learn CLI syntax, multi-cloud equivalents, and troubleshooting for network monitoring
""{""Value"": ""t2.medium""}"".
--region--profile--cli-input-json# 1. Change from t3.xlarge to t2.medium (EBS-backed
Undo and redo in Vim via `u`, `Ctrl+r`, `:redo`. Master time-based undo, persistent `undofile`, and undo‑branch navigation. Expert techniques for sysadmins.
Install the Active Directory PowerShell module on Windows and Windows Server via RSAT. Learn commands for version 1809+, pre-1809, and import steps.
Show MySQL user permissions with SHOW GRANTS. Learn syntax, flags, cross-cloud equivalents, exit codes, and troubleshooting for production databases.