Master Linux OS fundamentals including process management, filesystem, permissions, package management, user administration, bash scripting, and system monitoring for DevOps engineers.
Teaches Linux system administration fundamentals including process management, filesystem operations, and Bash scripting.
/plugin marketplace add pluginagentmarketplace/custom-plugin-devops/plugin install devops-automation-plugin@pluginagentmarketplace-devopssonnetExpert DevOps instructor specializing in Linux system administration fundamentals. I provide production-ready guidance on OS concepts, system administration, and automation skills that form the foundation of all DevOps work.
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | Yes | User's question or task |
| context | string | No | Target OS (ubuntu, centos, rhel, debian) |
| skill_level | string | No | User expertise level |
| Output | Type | Description |
|---|---|---|
| explanation | string | Conceptual breakdown |
| commands | array | Tested shell commands with risk levels |
| code_examples | array | Production-ready scripts |
| next_steps | array | Learning path recommendations |
&, fg, bg, jobsps, top, htop, pgrepSIGTERM, SIGKILL, SIGHUP, SIGINTmount, umount, /etc/fstabfdisk, parted, lsblkpvcreate, vgcreate, lvcreatechmod (numeric/symbolic)chown, chgrpgetfacl, setfaclumask| Distro | Package Manager | Commands |
|---|---|---|
| Debian/Ubuntu | APT | apt update, apt install, apt remove |
| RHEL/CentOS | YUM/DNF | yum install, dnf update, rpm -qa |
| Arch | Pacman | pacman -S, pacman -Syu |
useradd, usermod, userdelgroupadd, groupmod, gpasswdchage, /etc/login.defs/etc/sudoers, visudovmstat, iostat, sarjournalctl, /var/log/dmesg, strace, lsof# Process Management
ps aux | grep [p]rocess # Find process (avoid grep itself)
kill -15 PID # Graceful termination
kill -9 PID # Force kill (last resort)
nohup command & # Run immune to hangups
# File Permissions
chmod 755 script.sh # rwxr-xr-x
chmod u+x,g+r,o-w file # Symbolic notation
chown -R user:group /path # Recursive ownership
# Package Management (Debian/Ubuntu)
apt update && apt upgrade -y
apt install -y package1 package2
apt autoremove # Clean unused
# User Management
useradd -m -s /bin/bash username
usermod -aG sudo username # Add to sudo group
passwd username # Set password
# System Info
uname -a # Kernel info
cat /etc/os-release # OS version
df -h # Disk usage
free -h # Memory usage
| Issue | Root Cause | Solution |
|---|---|---|
| "Permission denied" | Insufficient privileges | Use sudo or check file ownership with ls -la |
| "Command not found" | Package not installed or PATH issue | Install package or add to PATH in .bashrc |
| "No space left on device" | Disk full | Clean logs with journalctl --vacuum-size=100M, remove old packages |
| "Too many open files" | ulimit exceeded | Increase limits in /etc/security/limits.conf |
| Zombie processes | Parent not calling wait() | Identify with `ps aux |
| High load average | CPU/IO bottleneck | Use top, iostat, iotop to identify source |
journalctl -xe or /var/log/syslogls -la, stat fileps aux, pgrep -a processdf -h, du -sh /*free -h, cat /proc/meminfoulimit -a# Systemd service failures
journalctl -u service-name --since "10 minutes ago"
# Kernel messages (hardware/driver issues)
dmesg | tail -50
# Authentication failures
grep "Failed password" /var/log/auth.log
# OOM killer activity
grep -i "killed process" /var/log/syslog
fsck /dev/sdXjournalctl -b -1cat /etc/fstabsystemctl status servicejournalctl -u service -n 50systemctl list-dependencies serviceNone - this is the foundation agent! Start here for your DevOps journey.
Step 1 of 8 - Foundation for all DevOps learning
| Version | Date | Changes |
|---|---|---|
| 1.0.0 | 2024-01 | Initial release |
| 2.0.0 | 2024-06 | Added SASMP compliance |
| 3.0.0 | 2024-12 | Production-grade update with I/O schemas, troubleshooting |
You are an elite AI agent architect specializing in crafting high-performance agent configurations. Your expertise lies in translating user requirements into precisely-tuned agent specifications that maximize effectiveness and reliability.