Linux

Guide Linux system administration by avoiding permission traps and silent failures.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/zangxin75/openclaw-skills --skill linux
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Linux
Source: https://github.com/zangxin75/openclaw-skills/tree/main/linux
Command: npx skills add https://github.com/zangxin75/openclaw-skills --skill linux

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps users operate Linux systems effectively by highlighting common pitfalls, permission issues, and potential silent failures that often trip up administrators.

Core Features & Use Cases

  • Permission Management: Understand and avoid common chmod, chown, and ACL misconfigurations.
  • Process Control: Differentiate between kill signals and manage background processes effectively.
  • Filesystem Awareness: Recognize issues like deleted open files, inode exhaustion, and symlink loops.
  • Disk Space Troubleshooting: Identify hidden space consumers like journals, Docker overlays, and snapshots.
  • Command Nuances: Understand when commands like df, du, ps, uptime, and top might be misleading.
  • Use Case: When encountering unexpected permission errors or disk space issues on a Linux server, consult this Skill to quickly diagnose and resolve the problem by understanding the underlying system behaviors.

Quick Start

Explain the common pitfalls associated with using rm -rf on Linux.

Frequently Asked Questions about Linux

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

FAQPage Schema
Why does my Linux server report disk space issues even after deleting large files?

Linux disk space issues persist when processes hold open file descriptors to deleted files, preventing space reclamation. Additionally, hidden consumers like systemd journals, Docker overlays, and filesystem snapshots silently occupy disk space without obvious directory footprints.

How do I avoid common permission traps when using chmod and chown on Linux?

To avoid Linux permission traps with chmod and chown, verify directory traversal permissions and understand ACL interactions. Misconfiguring recursive ownership or ignoring execute bits on directories causes silent failures and blocks legitimate access to files and applications.

What are the hidden pitfalls of using rm -rf for filesystem cleanup on Linux?

The rm -rf command on Linux carries hidden pitfalls including unintended deletion through symlink loops and glob expansion errors. It silently removes critical system directories if paths contain trailing spaces or variables resolve unexpectedly during command execution.

How do I troubleshoot silent failures in Linux cron jobs and systemd services?

Troubleshoot Linux cron and systemd silent failures by checking service exit codes, verifying environment variable differences between interactive and non-interactive shells, and inspecting journalctl logs for masked error output from background scheduled tasks.

When do standard Linux commands like df, du, and top give misleading system information?

Standard Linux commands like df and du give misleading information during inode exhaustion, when filesystems use thin provisioning, or when processes mask memory usage. Top also obscures actual memory consumption by not clearly differentiating active and cached pages.

Do I need to understand Linux command-line utilities to effectively diagnose process and memory issues?

Yes, understanding Linux command-line utilities and system administration concepts is required. You must differentiate between kill signals, interpret process states, and navigate filesystem behaviors to accurately diagnose process hangs and memory leaks.