linux-administration

📁 bagelhole/devops-security-agent-skills 📅 9 days ago
1
总安装量
1
周安装量
#51411
全站排名
安装命令
npx skills add https://github.com/bagelhole/devops-security-agent-skills --skill linux-administration

Agent 安装分布

opencode 1
codex 1
claude-code 1

Skill 文档

Linux Administration

Core Linux system administration skills.

Package Management

# Debian/Ubuntu
apt update && apt upgrade -y
apt install nginx
apt remove nginx
apt autoremove

# RHEL/CentOS
dnf update
dnf install nginx
dnf remove nginx

System Information

uname -a           # Kernel info
hostnamectl        # System info
lscpu              # CPU info
free -h            # Memory usage
df -h              # Disk usage
ip addr            # Network interfaces

Log Management

journalctl -u nginx          # Service logs
journalctl -f                # Follow logs
tail -f /var/log/syslog      # System logs
dmesg                        # Kernel messages

Process Management

ps aux | grep nginx
top / htop
kill -9 <pid>
pgrep nginx
pkill nginx

Best Practices

  • Regular updates
  • Minimal installed packages
  • Proper file permissions
  • Log rotation configuration
  • Automated backups