💻
DevOpsC++

Linux Administration Commands

by luofengmacheng

Linux Administration Commands is a DevOps skill for Claude Code, published by luofengmacheng in algorithms.

69 stars70 forkson luofengmacheng/algorithmsAdded 2026/07/16Repository updated 2018/09/25
Install in seconds
Install Linux Administration Commands
Copy Linux Administration Commands into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/luofengmacheng/algorithms/tree/master ~/.claude/skills/algorithms

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/luofengmacheng/algorithms.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skill.md in luofengmacheng/algorithms
Installs to
~/.claude/skills/algorithms
Collection
The only skill cataloged from this repository
Category
DevOps1075 skills

What Linux Administration Commands does

A legacy Linux command reference with DirSkills safety notes for emergency reboot, memory, I/O, background jobs, and older GRUB configurations.

Linux Administration Commands is cataloged under DevOps on DirSkills.

Reviewed 2026-08-04

DirSkills review

This is a legacy quick-reference document, not a safe modern administration runbook. Several commands are destructive or distribution-specific.

  • Writing b to /proc/sysrq-trigger reboots the host without a normal shutdown; never run it on production without an approved emergency procedure.
  • The /etc/grub.conf example targets older Red Hat-era layouts. Current distributions generally use GRUB 2 tooling, so verify the operating system documentation first.

Documentation

README

1 远程重启计算机

echo b > /proc/sysrq-trigger

2 查看内存使用情况

free -m //以MB为单位查看内存使用情况

3 修改计算机的可用内存

对于Redhat系(包括Fedora)

修改/etc/grub.conf,在kernel一行最后添加mem=1G就能够将可用内存修改为1GB

title Red Hat Enterprise Linux Server (2.6.27)
        root (hd0,1)
        kernel /vmlinuz-2.6.27 ro root=/dev/VolGroup00/LogVol00 rhgb quiet acpi=ht mem=1G
        initrd /initrd-2.6.27.img

4 查看系统的IO统计信息

iostat -k 3 //以KB打印结果,3秒显示一次

5 将一个进程放入后台,并使它不受前台的影响,特别是用于远程连接时

./test //运行程序
^Z //ctrl+z使程序暂停
bg %(jobid) //将程序放入后台运行
disown -h %(jobid)

Commands Linux Administration Commands provides

Slash commands named in this skill’s SKILL.md, listed in the order they first appear.

  • /vmlinuz-2
  • /initrd-2

Frequently asked about Linux Administration Commands

  • How does Linux Administration Commands compare to other DevOps skills?

    Linux Administration Commands ranks #1014 by stars among the 1075 DevOps skills in this catalog. The most-starred ones next to it are Backend Patterns, API Connector Builder and Migration. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Linux Administration Commands against them. Open each page to compare what they document and how they install.