bash-linux

Automate Bash/Linux terminal tasks with portable script templates and safe error handling.

Updated Jan 26, 2026
One-click install
npx skills add https://github.com/TwuanMinn/fadelab --skill bash-linux-twuanminn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bash-linux
Source: https://github.com/TwuanMinn/fadelab/tree/main/.agent/skills/skills/bash-linux
Command: npx skills add https://github.com/TwuanMinn/fadelab --skill bash-linux-twuanminn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Bash/Linux terminal patterns reduce friction for developers and sysadmins by providing ready-made patterns for common tasks and robust error handling.

Core Features & Use Cases

  • Operator syntax patterns for chaining, conditional execution, and piping
  • File operations: listing, searching, viewing, and filtering files
  • Process management: monitoring, killing, and port checks
  • Text processing: grep, sed, awk, cut, sort, uniq, wc
  • Environment and networking basics: env, export, curl, ifconfig/ip
  • Script templates and common patterns for safe scripting

Quick Start

Run a ready-to-use Bash one-liner that lists all files in the current directory with their sizes.

Frequently Asked Questions about bash-linux

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write a Bash script with safe error handling?

Bash scripts with safe error handling use the 'set -euo pipefail' directive to exit on errors, catch unset variables, and fail broken pipes. This Skill provides portable POSIX-compatible script templates incorporating these standardized safety patterns.

What's the best way to search and filter text files in Linux terminal?

To search and filter text files in the Linux terminal, use text processing utilities like grep, sed, awk, cut, sort, and uniq. This Skill provides ready-made command patterns for chaining these tools to extract and manipulate text efficiently.

How do I monitor processes and check ports in a Linux environment?

Monitoring processes and checking ports in a Linux environment involves using terminal commands for process management. This Skill supplies standardized command templates to list active processes, kill unresponsive tasks, and verify port occupancy quickly.

Can I use these Bash terminal patterns on macOS?

Yes, these Bash terminal patterns apply to both macOS and Linux environments. The provided command templates and scripting scenarios are designed for POSIX-compatible shells, ensuring portability across both operating systems.

How do I chain commands together using Bash operator syntax?

Chaining commands with Bash operator syntax uses conditional execution and piping to automate workflows. This Skill provides patterns for operator syntax, allowing you to link file operations and terminal tasks reliably.

What is the safest approach for automating Linux terminal workflows?

The safest approach for automating Linux terminal workflows is using script templates built with 'set -euo pipefail'. This Skill offers standardized, documented examples with robust error handling to prevent silent automation failures.