/fedora-basics
Load essential Fedora Linux knowledge for daily system usage
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/fedora-basics
Context preview
What this command does when you run it.
Load essential Fedora Linux knowledge for daily system usage
Command definition
fedora-basics.mdallowed-tools: Read, Bash(cat:*), Bash(echo:*)
name: "Fedora Basics"
description: "Load essential Fedora Linux knowledge for daily system usage"
author: "wcygan"
tags: ["context"]
version: "1.0.0"
created_at: "2025-07-14T00:00:00Z"
updated_at: "2025-07-14T00:00:00Z"
Context
- Session ID: `$(date +%s%N 2>/dev/null || echo "$(date +%s)000000000")`
- OS Check: `$(cat /etc/fedora-release 2>/dev/null || echo "Not Fedora")`
Your task
IF the system is not Fedora: PRINT "This command is designed for Fedora Linux systems." EXIT
PRINT "๐ Loading Fedora Linux Essentials..."
**Essential Fedora Commands Reference:**
Package Management (DNF)
# Update system
sudo dnf update
# Search for packages
dnf search [package_name]
# Install package
sudo dnf install [package_name]
# Remove package
sudo dnf remove [package_name]
# Show package info
dnf info [package_name]
# List installed packages
dnf list installed
# Clean cache
sudo dnf clean all
Service Management (systemctl)
# Start/stop/restart service
sudo systemctl start|stop|restart [service_name]
# Enable/disable service at boot
sudo systemctl enable|disable [service_name]
# Check service status
systemctl status [service_name]
# List all services
systemctl list-units --type=service
System Information
# System info
hostnamectl
# Disk usage
df -h
# Memory usage
free -h
# Running processes
top
Log Viewing
# View system logs
journalctl
# Follow logs in real-time
journalctl -f
# View logs for specific service
journalctl -u [service_name]
# View boot messages
journalctl -b
Network Commands
# Show network interfaces
ip addr
# Show network connections
ss -tulpn
# Test connectivity
ping [hostname]
# DNS lookup
nslookup [hostname]
File Permissions & SELinux
# Change file permissions
chmod [permissions] [file]
# Change file ownership
chown [user]:[group] [file]
# Check SELinux status
getenforce
# View SELinux contexts
ls -Z
# Restore SELinux contexts
sudo restorecon -Rv [path]
User Management
# Add user
sudo useradd [username]
# Set password
sudo passwd [username]
# Add user to group
sudo usermod -aG [group] [username]
# Switch user
su - [username]
Firewall (firewalld)
# Check firewall status
sudo firewall-cmd --state
# List allowed services
sudo firewall-cmd --list-services
# Add service
sudo firewall-cmd --add-service=[service] --permanent
sudo firewall-cmd --reload
# Add port
sudo firewall-cmd --add-port=[port]/tcp --permanent
sudo firewall-cmd --reload
Quick Tips:
- Use `Tab` for command completion
- Use `Ctrl+R` to search command history
- Use `man [command]` for detailed help
- Use `dnf provides [file]` to find which package provides a file
- Use `systemctl --failed` to see failed services
PRINT "โ
Fedora essentials loaded! Use these commands for daily system management." PRINT "๐ก For detailed help on any command, use: man [command_name]"
Read more
allowed-tools: Read, Bash(cat:*), Bash(echo:*) name: "Fedora Basics" description: "Load essential Fedora Linux knowledge for daily system usage" author: "wcygan" tags: ["context"] version: "1.0.0" created_at: "2025-07-14T00:00:00Z" updated_at: "2025-07-14T00:00:00Z"
Context
- Session ID: `$(date +%s%N 2>/dev/null || echo "$(date +%s)000000000")`
- OS Check: `$(cat /etc/fedora-release 2>/dev/null || echo "Not Fedora")`
Your task
IF the system is not Fedora: PRINT "This command is designed for Fedora Linux systems." EXIT
PRINT "๐ Loading Fedora Linux Essentials..."
**Essential Fedora Commands Reference:**
Package Management (DNF)
# Update system sudo dnf update # Search for packages dnf search [package_name] # Install package sudo dnf install [package_name] # Remove package sudo dnf remove [package_name] # Show package info dnf info [package_name] # List installed packages dnf list installed # Clean cache sudo dnf clean all
Service Management (systemctl)
# Start/stop/restart service sudo systemctl start|stop|restart [service_name] # Enable/disable service at boot sudo systemctl enable|disable [service_name] # Check service status systemctl status [service_name] # List all services systemctl list-units --type=service
System Information
# System info hostnamectl # Disk usage df -h # Memory usage free -h # Running processes top
Log Viewing
# View system logs journalctl # Follow logs in real-time journalctl -f # View logs for specific service journalctl -u [service_name] # View boot messages journalctl -b
Network Commands
# Show network interfaces ip addr # Show network connections ss -tulpn # Test connectivity ping [hostname] # DNS lookup nslookup [hostname]
File Permissions & SELinux
# Change file permissions chmod [permissions] [file] # Change file ownership chown [user]:[group] [file] # Check SELinux status getenforce # View SELinux contexts ls -Z # Restore SELinux contexts sudo restorecon -Rv [path]
User Management
# Add user sudo useradd [username] # Set password sudo passwd [username] # Add user to group sudo usermod -aG [group] [username] # Switch user su - [username]
Firewall (firewalld)
# Check firewall status sudo firewall-cmd --state # List allowed services sudo firewall-cmd --list-services # Add service sudo firewall-cmd --add-service=[service] --permanent sudo firewall-cmd --reload # Add port sudo firewall-cmd --add-port=[port]/tcp --permanent sudo firewall-cmd --reload
Quick Tips:
- Use `Tab` for command completion
- Use `Ctrl+R` to search command history
- Use `man [command]` for detailed help
- Use `dnf provides [file]` to find which package provides a file
- Use `systemctl --failed` to see failed services
PRINT "โ Fedora essentials loaded! Use these commands for daily system management." PRINT "๐ก For detailed help on any command, use: man [command_name]"
A lightweight (~46kB) and comprehensive CLI tool for managing Claude commands, configurations, and workflows.
Repo: kiliczsh/claude-cmd
Other commands on claude-cmd.
- /agent-browser-automation
Automate browser interactions for development testing using Puppeteer MCP
Open command - /agent-prep-merge
Prepare branches for merging across multiple worktrees and coordinate integration
Open command - /agent-persona-accessibility-expert
Transform into accessibility expert for WCAG compliance and inclusive design
Open command - /agent-persona-api-designer
Transform into an API design specialist who creates well-structured, developer-friendly APIs
Open command - /agent-persona-backend-specialist
Transform into backend specialist for scalable API and system design
Open command - /agent-persona-cloud-architect
Cloud architect persona for designing scalable, secure cloud infrastructure using modern cloud-native technologies
Open command

