bash-linux

Provide Bash scripting patterns and commands for Linux and macOS systems.

Updated Dec 24, 2025
One-click install
npx skills add https://github.com/OmarMira/Coontabilidad --skill bash-linux-omarmira
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bash-linux
Source: https://github.com/OmarMira/Coontabilidad/tree/main/.agent/skills/bash-linux
Command: npx skills add https://github.com/OmarMira/Coontabilidad --skill bash-linux-omarmira

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides essential patterns and commands for efficiently working with the Bash shell on Linux and macOS systems, streamlining terminal operations.

Core Features & Use Cases

  • Command Chaining: Understand operators like &&, ||, and | for complex command sequences.
  • File & Process Management: Quickly list, find, manipulate files, and manage running processes.
  • Text Processing: Utilize powerful tools like grep, sed, and awk for data manipulation.
  • Use Case: You need to find all .log files modified in the last 24 hours and then count the lines containing "ERROR" in each. This Skill provides the exact commands to achieve this efficiently.

Quick Start

Use the bash-linux skill to find all files ending in .log in the current directory and its subdirectories.

Frequently Asked Questions about bash-linux

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

FAQPage Schema
How do I find specific log files modified in the last 24 hours using bash commands?

To find log files modified in the last 24 hours using bash commands, use the `find` utility with the `-mtime` flag. This approach efficiently locates recently changed files ending in `.log` within current directories and subdirectories for subsequent text processing.

What is the best way to chain multiple terminal commands together in a shell script?

Chaining terminal commands together in a shell script requires operators like `&&` for sequential success, `||` for fallback execution, and `|` for piping output. This syntax enables complex command sequences for robust shell scripting automation.

Can I use bash scripting tools like grep, sed, and awk for text processing on macOS?

Yes, you can use bash scripting tools like grep, sed, and awk for text processing on macOS. These utilities are fully supported for data manipulation, allowing you to search, extract, and transform text directly within the terminal environment.

How do I count the number of lines containing a specific error string in multiple files?

To count lines containing a specific error string in multiple files, pipe the `find` command output into `grep` and `wc`. This text processing pipeline efficiently searches located files and tallies matching occurrences for quick error diagnostics.

Does this bash skill provide patterns for managing environment variables and running processes?

Yes, this bash skill provides patterns for managing environment variables and running processes. It covers essential file and process management commands, enabling you to list, find, manipulate files, and control active processes within the terminal.