Skip to content
Search RunEntLinux

Searches general documentation on RunEntLinux. Each distribution has its own documentation search.

    Browse this documentation
    ActionCommand
    Search for a packagednf search <keyword>
    Install a packagesudo dnf install <package>
    Remove a packagesudo dnf remove <package>
    Update all packagessudo dnf update
    List installed packagesdnf list installed
    View package infodnf info <package>
    Find which package owns a filednf provides <file-path>
    List repositoriesdnf repolist
    Clear cachesudo dnf clean all
    View update historydnf history
    ActionCommand
    Start a servicesudo systemctl start <service>
    Stop a servicesudo systemctl stop <service>
    Restart a servicesudo systemctl restart <service>
    Reload configurationsudo systemctl reload <service>
    View statussystemctl status <service>
    Enable at bootsudo systemctl enable <service>
    Disable at bootsudo systemctl disable <service>
    Start and enable at bootsudo systemctl enable --now <service>
    List running servicessystemctl list-units --type=service --state=running
    ActionCommand
    Check statussudo firewall-cmd --state
    View all rulessudo firewall-cmd --list-all
    Allow a servicesudo firewall-cmd --add-service=http --permanent
    Allow a portsudo firewall-cmd --add-port=8080/tcp --permanent
    Reload rulessudo firewall-cmd --reload
    List allowed servicessudo firewall-cmd --list-services
    ActionCommand
    Check modegetenforce
    Temporarily set Permissivesudo setenforce 0
    Temporarily set Enforcingsudo setenforce 1
    View file contextls -Z <path>
    Restore default contextsudo restorecon -Rv <path>
    View booleansgetsebool -a | grep <keyword>
    Set a booleansudo setsebool -P <boolean> on
    View denial logssudo ausearch -m avc -ts recent
    ActionCommand
    View IP addressesip addr show
    View routing tableip route show
    View network connectionsnmcli connection show
    View listening portsss -tlnp
    DNS lookupdig <domain> or nslookup <domain>
    Test connectivityping -c 3 <address>
    Trace routetraceroute <address>
    ActionCommand
    Add a usersudo useradd <username>
    Set a passwordsudo passwd <username>
    Delete a usersudo userdel -r <username>
    Add to a groupsudo usermod -aG <group> <username>
    View user infoid <username>
    Switch usersu - <username>
    ActionCommand
    View system logsjournalctl
    Current boot logsjournalctl -b
    Follow in real timejournalctl -f
    Specific service logsjournalctl -u <service>
    Error level and abovejournalctl -p err
    Specific time rangejournalctl --since "1 hour ago"
    ActionCommand
    View disk usagedf -h
    View directory sizedu -sh <path>
    List block deviceslsblk
    View LVMlvs / vgs / pvs
    ActionCommand
    System versioncat /etc/redhat-release
    Kernel versionuname -r
    Hostnamehostnamectl
    Uptimeuptime
    Memory usagefree -h
    CPU infolscpu