Skip to content

Linux - Networking & Remote Access

Linux Network & System Commands

Linux Requires SmartCom Revisited 1.0.0 or newer

by Nathan Kirk · 48 downloads · MIT licence · revision 1 · published 13 Aug 2026

This bundle can change or destroy device state

  • Reboots or reloads the device (5 steps) — Restarts the device. Any session on it drops, and anything not saved is lost.
  • Shuts down an interface (1 step) — Administratively disables an interface. If it is the interface you are connected over, you lose the session.
Show exactly which steps matched
  • Reboot System — Reboots or reloads the device (steps[0], sent text)

    sudo systemctl reboot
  • Power Off System — Reboots or reloads the device (steps[0], sent text)

    sudo systemctl poweroff
  • Schedule Reboot — Reboots or reloads the device (steps[0], sent text)

    sudo shutdown -r +{{MINUTES}}
  • Schedule Shutdown — Reboots or reloads the device (steps[0], sent text)

    sudo shutdown -h +{{MINUTES}}
  • Show Reboot History — Reboots or reloads the device (steps[0], sent text)

    last reboot
  • Show Shutdown History — Shuts down an interface (steps[0], sent text)

    last -x shutdown

Flagged automatically by matching command text. It is a prompt to read the script, not a verdict — plenty of legitimate buttons reboot things on purpose.

Download

3 sets, 92 buttons, 92 steps · 82.9 KB

File format version 1 · exported by Smartcom Revisited

Download .buttons.json
SHA-256 ff248ed1afe8c980e3da26a0a8697082fe6ed6869ef59f9367b38c576d047522

You get the exact file the uploader submitted, byte for byte — that checksum is what sha256sum will print. Import it from the button panel in SmartCom Revisited.

About this set

Linux commands for networking, remote access, packet capture, firewalls, system and hardware information, diagnostics, security checks, troubleshooting, reboots, and shutdowns.

Every button, in full

Exactly what gets sent

This is the complete script of the file below — nothing is summarised or hidden. Read it before you download it, the same way you would read a script someone emailed you.

Linux - Networking & Remote Access

40 buttons

Show IP Addresses

Run: ip -br address

1 step

  1. Send
    ip -br address

    Sends Enter afterwards.

Show Interfaces

Run: ip link show

1 step

  1. Send
    ip link show

    Sends Enter afterwards.

Show Routing Table

Run: ip route

1 step

  1. Send
    ip route

    Sends Enter afterwards.

Show Default Route

Run: ip route show default

1 step

  1. Send
    ip route show default

    Sends Enter afterwards.

Show ARP Neighbors

Run: ip neigh show

1 step

  1. Send
    ip neigh show

    Sends Enter afterwards.

Bring Interface Up

Run: sudo ip link set {{INTERFACE}} up

1 step · 1 input

  1. Send
    sudo ip link set {{INTERFACE}} up

    Sends Enter afterwards.

Bring Interface Down

Run: sudo ip link set {{INTERFACE}} down

1 step · asks for confirmation before it runs · 1 input

  1. Send
    sudo ip link set {{INTERFACE}} down

    Sends Enter afterwards.

Add IP Address

Run: sudo ip address add {{IP_CIDR}} dev {{INTERFACE}}

1 step · 2 inputs

  1. Send
    sudo ip address add {{IP_CIDR}} dev {{INTERFACE}}

    Sends Enter afterwards.

Remove IP Address

Run: sudo ip address del {{IP_CIDR}} dev {{INTERFACE}}

1 step · asks for confirmation before it runs · 2 inputs

  1. Send
    sudo ip address del {{IP_CIDR}} dev {{INTERFACE}}

    Sends Enter afterwards.

Ping Host

Run: ping -c {{COUNT}} {{HOST}}

1 step · 2 inputs

  1. Send
    ping -c {{COUNT}} {{HOST}}

    Sends Enter afterwards.

Trace Route

Run: traceroute {{HOST}}

1 step · 1 input

  1. Send
    traceroute {{HOST}}

    Sends Enter afterwards.

Trace Route with IP

Run: tracepath {{HOST}}

1 step · 1 input

  1. Send
    tracepath {{HOST}}

    Sends Enter afterwards.

DNS Lookup

Run: dig {{HOST}}

1 step · 1 input

  1. Send
    dig {{HOST}}

    Sends Enter afterwards.

DNS Lookup Specific Server

Run: dig @{{DNS_SERVER}} {{HOST}} {{RECORD_TYPE}}

1 step · 3 inputs

  1. Send
    dig @{{DNS_SERVER}} {{HOST}} {{RECORD_TYPE}}

    Sends Enter afterwards.

Reverse DNS Lookup

Run: dig -x {{IP_ADDRESS}}

1 step · 1 input

  1. Send
    dig -x {{IP_ADDRESS}}

    Sends Enter afterwards.

Show Host Resolution

Run: getent hosts {{HOST}}

1 step · 1 input

  1. Send
    getent hosts {{HOST}}

    Sends Enter afterwards.

Show Listening Ports

Run: ss -lntup

1 step

  1. Send
    ss -lntup

    Sends Enter afterwards.

Show TCP Connections

Run: ss -tnp

1 step

  1. Send
    ss -tnp

    Sends Enter afterwards.

Show Port Process

Run: sudo lsof -i :{{PORT}}

1 step · 1 input

  1. Send
    sudo lsof -i :{{PORT}}

    Sends Enter afterwards.

Test TCP Port

Run: nc -vz {{HOST}} {{PORT}}

1 step · 2 inputs

  1. Send
    nc -vz {{HOST}} {{PORT}}

    Sends Enter afterwards.

Listen on TCP Port

Run: nc -lvnp {{PORT}}

1 step · 1 input

  1. Send
    nc -lvnp {{PORT}}

    Sends Enter afterwards.

HTTP Headers

Run: curl -I {{URL}}

1 step · 1 input

  1. Send
    curl -I {{URL}}

    Sends Enter afterwards.

HTTP Request Verbose

Run: curl -v {{URL}}

1 step · 1 input

  1. Send
    curl -v {{URL}}

    Sends Enter afterwards.

Download File

Run: curl -fLO {{URL}}

1 step · 1 input

  1. Send
    curl -fLO {{URL}}

    Sends Enter afterwards.

Download to Filename

Run: curl -fL {{URL}} -o {{FILE}}

1 step · 2 inputs

  1. Send
    curl -fL {{URL}} -o {{FILE}}

    Sends Enter afterwards.

Show Public IP

Run: curl -4 ifconfig.me

1 step

  1. Send
    curl -4 ifconfig.me

    Sends Enter afterwards.

SSH to Host

Run: ssh {{USERNAME}}@{{HOST}}

1 step · 2 inputs

  1. Send
    ssh {{USERNAME}}@{{HOST}}

    Sends Enter afterwards.

SSH on Port

Run: ssh -p {{PORT}} {{USERNAME}}@{{HOST}}

1 step · 3 inputs

  1. Send
    ssh -p {{PORT}} {{USERNAME}}@{{HOST}}

    Sends Enter afterwards.

Run Remote Command

Run: ssh {{USERNAME}}@{{HOST}} "{{COMMAND}}"

1 step · 3 inputs

  1. Send
    ssh {{USERNAME}}@{{HOST}} "{{COMMAND}}"

    Sends Enter afterwards.

Copy File to Remote

Run: scp {{SOURCE}} {{USERNAME}}@{{HOST}}:{{DESTINATION}}

1 step · 4 inputs

  1. Send
    scp {{SOURCE}} {{USERNAME}}@{{HOST}}:{{DESTINATION}}

    Sends Enter afterwards.

Copy File from Remote

Run: scp {{USERNAME}}@{{HOST}}:{{SOURCE}} {{DESTINATION}}

1 step · 4 inputs

  1. Send
    scp {{USERNAME}}@{{HOST}}:{{SOURCE}} {{DESTINATION}}

    Sends Enter afterwards.

Rsync to Remote

Run: rsync -avh --progress {{SOURCE}} {{USERNAME}}@{{HOST}}:{{DESTINATION}}

1 step · 4 inputs

  1. Send
    rsync -avh --progress {{SOURCE}} {{USERNAME}}@{{HOST}}:{{DESTINATION}}

    Sends Enter afterwards.

Show NetworkManager Connections

Run: nmcli connection show

1 step

  1. Send
    nmcli connection show

    Sends Enter afterwards.

Restart NetworkManager

Run: sudo systemctl restart NetworkManager

1 step

  1. Send
    sudo systemctl restart NetworkManager

    Sends Enter afterwards.

Capture Packets

Run: sudo tcpdump -ni {{INTERFACE}}

1 step · 1 input

  1. Send
    sudo tcpdump -ni {{INTERFACE}}

    Sends Enter afterwards.

Capture Port Traffic

Run: sudo tcpdump -ni {{INTERFACE}} port {{PORT}}

1 step · 2 inputs

  1. Send
    sudo tcpdump -ni {{INTERFACE}} port {{PORT}}

    Sends Enter afterwards.

Save Packet Capture

Run: sudo tcpdump -ni {{INTERFACE}} -w {{CAPTURE_FILE}}

1 step · 2 inputs

  1. Send
    sudo tcpdump -ni {{INTERFACE}} -w {{CAPTURE_FILE}}

    Sends Enter afterwards.

Show Firewall Rules nftables

Run: sudo nft list ruleset

1 step

  1. Send
    sudo nft list ruleset

    Sends Enter afterwards.

Show UFW Status

Run: sudo ufw status verbose

1 step

  1. Send
    sudo ufw status verbose

    Sends Enter afterwards.

Show Firewalld Rules

Run: sudo firewall-cmd --list-all

1 step

  1. Send
    sudo firewall-cmd --list-all

    Sends Enter afterwards.

Linux - System Information & Hardware

28 buttons

Hostname

Run: hostname

1 step

  1. Send
    hostname

    Sends Enter afterwards.

Fully Qualified Hostname

Run: hostname -f

1 step

  1. Send
    hostname -f

    Sends Enter afterwards.

Set Hostname

Run: sudo hostnamectl set-hostname {{HOSTNAME}}

1 step · 1 input

  1. Send
    sudo hostnamectl set-hostname {{HOSTNAME}}

    Sends Enter afterwards.

Operating System Info

Run: cat /etc/os-release

1 step

  1. Send
    cat /etc/os-release

    Sends Enter afterwards.

Kernel Version

Run: uname -r

1 step

  1. Send
    uname -r

    Sends Enter afterwards.

Full Kernel Info

Run: uname -a

1 step

  1. Send
    uname -a

    Sends Enter afterwards.

System Overview

Run: hostnamectl

1 step

  1. Send
    hostnamectl

    Sends Enter afterwards.

CPU Information

Run: lscpu

1 step

  1. Send
    lscpu

    Sends Enter afterwards.

Hardware Summary

Run: sudo lshw -short

1 step

  1. Send
    sudo lshw -short

    Sends Enter afterwards.

PCI Devices

Run: lspci -nn

1 step

  1. Send
    lspci -nn

    Sends Enter afterwards.

USB Devices

Run: lsusb

1 step

  1. Send
    lsusb

    Sends Enter afterwards.

Memory Modules

Run: sudo dmidecode -t memory

1 step

  1. Send
    sudo dmidecode -t memory

    Sends Enter afterwards.

System Manufacturer

Run: sudo dmidecode -t system

1 step

  1. Send
    sudo dmidecode -t system

    Sends Enter afterwards.

BIOS Information

Run: sudo dmidecode -t bios

1 step

  1. Send
    sudo dmidecode -t bios

    Sends Enter afterwards.

Uptime

Run: uptime

1 step

  1. Send
    uptime

    Sends Enter afterwards.

Boot Time

Run: uptime -s

1 step

  1. Send
    uptime -s

    Sends Enter afterwards.

Current Date

Run: date

1 step

  1. Send
    date

    Sends Enter afterwards.

Current Timezone

Run: timedatectl

1 step

  1. Send
    timedatectl

    Sends Enter afterwards.

Set Timezone

Run: sudo timedatectl set-timezone {{TIMEZONE}}

1 step · 1 input

  1. Send
    sudo timedatectl set-timezone {{TIMEZONE}}

    Sends Enter afterwards.

Show NTP Status

Run: timedatectl timesync-status

1 step

  1. Send
    timedatectl timesync-status

    Sends Enter afterwards.

Show Environment

Run: env | sort

1 step

  1. Send
    env | sort

    Sends Enter afterwards.

Show Shell

Run: echo $SHELL

1 step

  1. Send
    echo $SHELL

    Sends Enter afterwards.

Show PATH

Run: echo $PATH | tr ":" " "

1 step

  1. Send
    echo $PATH | tr ":" "
    "

    Sends Enter afterwards.

Command Location

Run: command -v {{COMMAND_NAME}}

1 step · 1 input

  1. Send
    command -v {{COMMAND_NAME}}

    Sends Enter afterwards.

Command Type

Run: type {{COMMAND_NAME}}

1 step · 1 input

  1. Send
    type {{COMMAND_NAME}}

    Sends Enter afterwards.

Show Limits

Run: ulimit -a

1 step

  1. Send
    ulimit -a

    Sends Enter afterwards.

Show Loaded Kernel Modules

Run: lsmod

1 step

  1. Send
    lsmod

    Sends Enter afterwards.

Show Kernel Command Line

Run: cat /proc/cmdline

1 step

  1. Send
    cat /proc/cmdline

    Sends Enter afterwards.

Linux - Diagnostics, Security & Power

24 buttons

Recent Kernel Messages

Run: sudo dmesg -T | tail -n {{LINES}}

1 step · 1 input

  1. Send
    sudo dmesg -T | tail -n {{LINES}}

    Sends Enter afterwards.

Follow Kernel Messages

Run: sudo dmesg -wT

1 step

  1. Send
    sudo dmesg -wT

    Sends Enter afterwards.

Show Errors This Boot

Run: sudo journalctl -b -p err

1 step

  1. Send
    sudo journalctl -b -p err

    Sends Enter afterwards.

Show Failed Units

Run: systemctl --failed

1 step

  1. Send
    systemctl --failed

    Sends Enter afterwards.

Show SELinux Status

Run: sestatus

1 step

  1. Send
    sestatus

    Sends Enter afterwards.

Show AppArmor Status

Run: sudo aa-status

1 step

  1. Send
    sudo aa-status

    Sends Enter afterwards.

Show Audit Events

Run: sudo ausearch -ts recent

1 step

  1. Send
    sudo ausearch -ts recent

    Sends Enter afterwards.

Check File Descriptor Limit

Run: cat /proc/sys/fs/file-max

1 step

  1. Send
    cat /proc/sys/fs/file-max

    Sends Enter afterwards.

Show Process Limits

Run: cat /proc/{{PID}}/limits

1 step · 1 input

  1. Send
    cat /proc/{{PID}}/limits

    Sends Enter afterwards.

Show System Calls for Command

Run: strace -f {{COMMAND}}

1 step · 1 input

  1. Send
    strace -f {{COMMAND}}

    Sends Enter afterwards.

Test Configuration Command

Run: {{COMMAND}} --test

1 step · 1 input

  1. Send
    {{COMMAND}} --test

    Sends Enter afterwards.

Check Bash Syntax

Run: bash -n {{SCRIPT}}

1 step · 1 input

  1. Send
    bash -n {{SCRIPT}}

    Sends Enter afterwards.

Show Bash Command History

Run: history

1 step

  1. Send
    history

    Sends Enter afterwards.

Clear Page Cache

Run: sudo sh -c "sync; echo 1 > /proc/sys/vm/drop_caches"

1 step · asks for confirmation before it runs

  1. Send
    sudo sh -c "sync; echo 1 > /proc/sys/vm/drop_caches"

    Sends Enter afterwards.

Reboot System

Run: sudo systemctl reboot

1 step · asks for confirmation before it runs

  • Reboots or reloads the device
  1. Send
    sudo systemctl reboot

    Sends Enter afterwards.

Power Off System

Run: sudo systemctl poweroff

1 step · asks for confirmation before it runs

  • Reboots or reloads the device
  1. Send
    sudo systemctl poweroff

    Sends Enter afterwards.

Schedule Reboot

Run: sudo shutdown -r +{{MINUTES}}

1 step · asks for confirmation before it runs · 1 input

  • Reboots or reloads the device
  1. Send
    sudo shutdown -r +{{MINUTES}}

    Sends Enter afterwards.

Schedule Shutdown

Run: sudo shutdown -h +{{MINUTES}}

1 step · asks for confirmation before it runs · 1 input

  • Reboots or reloads the device
  1. Send
    sudo shutdown -h +{{MINUTES}}

    Sends Enter afterwards.

Cancel Scheduled Shutdown

Run: sudo shutdown -c

1 step

  1. Send
    sudo shutdown -c

    Sends Enter afterwards.

Show Reboot History

Run: last reboot

1 step

  • Reboots or reloads the device
  1. Send
    last reboot

    Sends Enter afterwards.

Show Shutdown History

Run: last -x shutdown

1 step

  • Shuts down an interface
  1. Send
    last -x shutdown

    Sends Enter afterwards.

Check Certificate Dates

Run: openssl s_client -connect {{HOST}}:{{PORT}} -servername {{HOST}} </dev/null 2>/dev/null | openssl x509 -noout -dates -subject -issuer

1 step · 2 inputs

  1. Send
    openssl s_client -connect {{HOST}}:{{PORT}} -servername {{HOST}} </dev/null 2>/dev/null | openssl x509 -noout -dates -subject -issuer

    Sends Enter afterwards.

Generate Random Password

Run: openssl rand -base64 {{LENGTH}}

1 step · 1 input

  1. Send
    openssl rand -base64 {{LENGTH}}

    Sends Enter afterwards.

Check Port with Bash

Run: timeout {{SECONDS}} bash -c "</dev/tcp/{{HOST}}/{{PORT}}" && echo open || echo closed

1 step · 3 inputs

  1. Send
    timeout {{SECONDS}} bash -c "</dev/tcp/{{HOST}}/{{PORT}}" && echo open || echo closed

    Sends Enter afterwards.

Version history

  • Revision 1 current

    First published version.

    13 Aug 2026 · 82.9 KB · needs 1.0.0+ · ff248ed1afe8c980…

Something wrong with this set?

Sign in to report it, or email abuse@smartcomrevisited.com.