bash-linux

Reference Bash and Linux terminal commands for scripting and text processing.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides essential patterns and commands for efficiently working with Bash and Linux/macOS terminals, reducing errors and speeding up development tasks.

Core Features & Use Cases

  • Command Chaining & Piping: Understand operators like &&, ||, and | for complex command sequences.
  • File & Process Management: Quickly perform common operations like finding files, managing processes, and checking disk usage.
  • Text Processing: Utilize powerful tools like grep, sed, and awk for data manipulation.
  • Use Case: When asked to find all JavaScript files modified in the last 24 hours and count the lines of code within them, this Skill can provide the precise find and wc commands.

Quick Start

Use the bash-linux skill to find all files ending in .log in the current directory and its subdirectories, and display the last 10 lines of each.

Frequently Asked Questions about bash-linux

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

FAQPage Schema
How do I chain Bash commands together to execute sequentially?

You can chain Bash commands using operators like `&&` for sequential execution, `||` for fallback execution, and `|` to pipe output between commands. This allows you to build complex command sequences for efficient terminal operations.

How does text processing with grep, sed, and awk work in the terminal?

Text processing with grep, sed, and awk works by parsing input streams to search, edit, and extract data patterns. Grep filters lines, sed performs stream editing, and awk handles complex data manipulation and columnar extraction.

What is the best way to find recently modified files and count their lines in Linux?

The best way to find modified files and count lines in Linux is by combining the `find` command with `wc`. You can locate files modified within a specific timeframe and pipe the results to `wc` to count the total lines of code.

Can I use shell scripting for process management and file operations on macOS?

Yes, you can use shell scripting for process management and file operations on macOS, as well as Linux. The terminal commands for finding files, checking disk usage, and managing processes are compatible with both operating systems.

Why does my shell script fail when handling errors during command execution?

Shell scripts often fail when lacking proper error handling best practices. Implementing robust error handling ensures your script safely manages failures during command chaining, file operations, and process management tasks.