Skip to content

Linux - Navigation & Files

Linux Core Commands

Linux Requires SmartCom Revisited 1.0.0 or newer

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

This bundle can change or destroy device state

  • Recursive or forced file deletion (1 step) — Deletes files recursively or writes directly to a block device on a Linux-style host.
  • Stops or disables a service (1 step) — Stops something that is currently running on the host.
Show exactly which steps matched
  • Remove Directory Recursively — Recursive or forced file deletion (steps[0], sent text)

    rm -rf {{DIRECTORY}}
  • Terminate Processes by Name — Stops or disables a service (steps[0], sent text)

    pkill {{PROCESS_NAME}}

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

5 sets, 119 buttons, 119 steps · 121.6 KB

File format version 1 · exported by Smartcom Revisited

Download .buttons.json
SHA-256 7237589860b71608cd59c80fcd5429d5b6e27eb61043491613b1a820eb6af26c

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

Essential Linux commands for navigating files, viewing and searching text, managing permissions, controlling processes, creating archives, verifying checksums, and transferring files.

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 - Navigation & Files

30 buttons

Print Working Directory

Run: pwd

1 step

  1. Send
    pwd

    Sends Enter afterwards.

List Files

Run: ls -la

1 step

  1. Send
    ls -la

    Sends Enter afterwards.

List Files Human Readable

Run: ls -lah

1 step

  1. Send
    ls -lah

    Sends Enter afterwards.

List by Modification Time

Run: ls -lahtr

1 step

  1. Send
    ls -lahtr

    Sends Enter afterwards.

List Directory

Run: ls -lah {{PATH}}

1 step · 1 input

  1. Send
    ls -lah {{PATH}}

    Sends Enter afterwards.

Change Directory

Run: cd {{PATH}}

1 step · 1 input

  1. Send
    cd {{PATH}}

    Sends Enter afterwards.

Go to Parent Directory

Run: cd ..

1 step

  1. Send
    cd ..

    Sends Enter afterwards.

Go to Home Directory

Run: cd

1 step

  1. Send
    cd

    Sends Enter afterwards.

Show Directory Tree

Run: tree -a {{PATH}}

1 step · 1 input

  1. Send
    tree -a {{PATH}}

    Sends Enter afterwards.

Create Directory

Run: mkdir {{PATH}}

1 step · 1 input

  1. Send
    mkdir {{PATH}}

    Sends Enter afterwards.

Create Parent Directories

Run: mkdir -p {{PATH}}

1 step · 1 input

  1. Send
    mkdir -p {{PATH}}

    Sends Enter afterwards.

Create Empty File

Run: touch {{FILE}}

1 step · 1 input

  1. Send
    touch {{FILE}}

    Sends Enter afterwards.

Copy File

Run: cp {{SOURCE}} {{DESTINATION}}

1 step · 2 inputs

  1. Send
    cp {{SOURCE}} {{DESTINATION}}

    Sends Enter afterwards.

Copy Directory

Run: cp -a {{SOURCE}} {{DESTINATION}}

1 step · 2 inputs

  1. Send
    cp -a {{SOURCE}} {{DESTINATION}}

    Sends Enter afterwards.

Copy With Progress

Run: rsync -ah --info=progress2 {{SOURCE}} {{DESTINATION}}

1 step · 2 inputs

  1. Send
    rsync -ah --info=progress2 {{SOURCE}} {{DESTINATION}}

    Sends Enter afterwards.

Move or Rename

Run: mv {{SOURCE}} {{DESTINATION}}

1 step · 2 inputs

  1. Send
    mv {{SOURCE}} {{DESTINATION}}

    Sends Enter afterwards.

Remove File

Run: rm {{FILE}}

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

  1. Send
    rm {{FILE}}

    Sends Enter afterwards.

Remove Empty Directory

Run: rmdir {{DIRECTORY}}

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

  1. Send
    rmdir {{DIRECTORY}}

    Sends Enter afterwards.

Remove Directory Recursively

Run: rm -rf {{DIRECTORY}}

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

  • Recursive or forced file deletion
  1. Send
    rm -rf {{DIRECTORY}}

    Sends Enter afterwards.

Create Symbolic Link

Run: ln -s {{TARGET}} {{LINK_NAME}}

1 step · 2 inputs

  1. Send
    ln -s {{TARGET}} {{LINK_NAME}}

    Sends Enter afterwards.

Create Hard Link

Run: ln {{TARGET}} {{LINK_NAME}}

1 step · 2 inputs

  1. Send
    ln {{TARGET}} {{LINK_NAME}}

    Sends Enter afterwards.

Show File Type

Run: file {{FILE}}

1 step · 1 input

  1. Send
    file {{FILE}}

    Sends Enter afterwards.

Show File Metadata

Run: stat {{PATH}}

1 step · 1 input

  1. Send
    stat {{PATH}}

    Sends Enter afterwards.

Resolve Absolute Path

Run: realpath {{PATH}}

1 step · 1 input

  1. Send
    realpath {{PATH}}

    Sends Enter afterwards.

Show Directory Size

Run: du -sh {{PATH}}

1 step · 1 input

  1. Send
    du -sh {{PATH}}

    Sends Enter afterwards.

Show Largest Items

Run: du -ah {{PATH}} | sort -rh | head -n {{LIMIT}}

1 step · 2 inputs

  1. Send
    du -ah {{PATH}} | sort -rh | head -n {{LIMIT}}

    Sends Enter afterwards.

Compare Files

Run: diff -u {{FILE1}} {{FILE2}}

1 step · 2 inputs

  1. Send
    diff -u {{FILE1}} {{FILE2}}

    Sends Enter afterwards.

Compare Directories

Run: diff -ru {{DIRECTORY1}} {{DIRECTORY2}}

1 step · 2 inputs

  1. Send
    diff -ru {{DIRECTORY1}} {{DIRECTORY2}}

    Sends Enter afterwards.

Create Temporary File

Run: mktemp

1 step

  1. Send
    mktemp

    Sends Enter afterwards.

Create Temporary Directory

Run: mktemp -d

1 step

  1. Send
    mktemp -d

    Sends Enter afterwards.

Linux - Viewing, Text & Search

29 buttons

Display File

Run: cat {{FILE}}

1 step · 1 input

  1. Send
    cat {{FILE}}

    Sends Enter afterwards.

Display With Line Numbers

Run: cat -n {{FILE}}

1 step · 1 input

  1. Send
    cat -n {{FILE}}

    Sends Enter afterwards.

Page Through File

Run: less {{FILE}}

1 step · 1 input

  1. Send
    less {{FILE}}

    Sends Enter afterwards.

First Lines

Run: head -n {{LINES}} {{FILE}}

1 step · 2 inputs

  1. Send
    head -n {{LINES}} {{FILE}}

    Sends Enter afterwards.

Last Lines

Run: tail -n {{LINES}} {{FILE}}

1 step · 2 inputs

  1. Send
    tail -n {{LINES}} {{FILE}}

    Sends Enter afterwards.

Follow File

Run: tail -f {{FILE}}

1 step · 1 input

  1. Send
    tail -f {{FILE}}

    Sends Enter afterwards.

Follow From Last Lines

Run: tail -n {{LINES}} -f {{FILE}}

1 step · 2 inputs

  1. Send
    tail -n {{LINES}} -f {{FILE}}

    Sends Enter afterwards.

Search Text in File

Run: grep -n "{{PATTERN}}" {{FILE}}

1 step · 2 inputs

  1. Send
    grep -n "{{PATTERN}}" {{FILE}}

    Sends Enter afterwards.

Search Text Recursively

Run: grep -RIn "{{PATTERN}}" {{PATH}}

1 step · 2 inputs

  1. Send
    grep -RIn "{{PATTERN}}" {{PATH}}

    Sends Enter afterwards.

Search Ignoring Case

Run: grep -RIni "{{PATTERN}}" {{PATH}}

1 step · 2 inputs

  1. Send
    grep -RIni "{{PATTERN}}" {{PATH}}

    Sends Enter afterwards.

Search With Ripgrep

Run: rg -n "{{PATTERN}}" {{PATH}}

1 step · 2 inputs

  1. Send
    rg -n "{{PATTERN}}" {{PATH}}

    Sends Enter afterwards.

Find Files by Name

Run: find {{PATH}} -type f -name "{{NAME_PATTERN}}"

1 step · 2 inputs

  1. Send
    find {{PATH}} -type f -name "{{NAME_PATTERN}}"

    Sends Enter afterwards.

Find Directories by Name

Run: find {{PATH}} -type d -name "{{NAME_PATTERN}}"

1 step · 2 inputs

  1. Send
    find {{PATH}} -type d -name "{{NAME_PATTERN}}"

    Sends Enter afterwards.

Find Modified Recently

Run: find {{PATH}} -type f -mtime -{{DAYS}}

1 step · 2 inputs

  1. Send
    find {{PATH}} -type f -mtime -{{DAYS}}

    Sends Enter afterwards.

Find Larger Than Size

Run: find {{PATH}} -type f -size +{{SIZE}}

1 step · 2 inputs

  1. Send
    find {{PATH}} -type f -size +{{SIZE}}

    Sends Enter afterwards.

Find Empty Files

Run: find {{PATH}} -type f -empty

1 step · 1 input

  1. Send
    find {{PATH}} -type f -empty

    Sends Enter afterwards.

Count Lines Words Bytes

Run: wc {{FILE}}

1 step · 1 input

  1. Send
    wc {{FILE}}

    Sends Enter afterwards.

Count Lines

Run: wc -l {{FILE}}

1 step · 1 input

  1. Send
    wc -l {{FILE}}

    Sends Enter afterwards.

Sort File

Run: sort {{FILE}}

1 step · 1 input

  1. Send
    sort {{FILE}}

    Sends Enter afterwards.

Sort Unique

Run: sort -u {{FILE}}

1 step · 1 input

  1. Send
    sort -u {{FILE}}

    Sends Enter afterwards.

Show Unique Counts

Run: sort {{FILE}} | uniq -c | sort -nr

1 step · 1 input

  1. Send
    sort {{FILE}} | uniq -c | sort -nr

    Sends Enter afterwards.

Extract Column

Run: awk -F"{{DELIMITER}}" '{print ${{COLUMN}}}' {{FILE}}

1 step · 3 inputs

  1. Send
    awk -F"{{DELIMITER}}" '{print ${{COLUMN}}}' {{FILE}}

    Sends Enter afterwards.

Replace Text Preview

Run: sed "s/{{SEARCH}}/{{REPLACE}}/g" {{FILE}}

1 step · 3 inputs

  1. Send
    sed "s/{{SEARCH}}/{{REPLACE}}/g" {{FILE}}

    Sends Enter afterwards.

Replace Text In Place

Run: sed -i.bak "s/{{SEARCH}}/{{REPLACE}}/g" {{FILE}}

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

  1. Send
    sed -i.bak "s/{{SEARCH}}/{{REPLACE}}/g" {{FILE}}

    Sends Enter afterwards.

Print Line Range

Run: sed -n "{{START_LINE}},{{END_LINE}}p" {{FILE}}

1 step · 3 inputs

  1. Send
    sed -n "{{START_LINE}},{{END_LINE}}p" {{FILE}}

    Sends Enter afterwards.

Split File by Lines

Run: split -l {{LINES}} {{FILE}} {{PREFIX}}

1 step · 3 inputs

  1. Send
    split -l {{LINES}} {{FILE}} {{PREFIX}}

    Sends Enter afterwards.

Join Lines

Run: paste -sd "{{DELIMITER}}" {{FILE}}

1 step · 2 inputs

  1. Send
    paste -sd "{{DELIMITER}}" {{FILE}}

    Sends Enter afterwards.

JSON Pretty Print

Run: jq . {{FILE}}

1 step · 1 input

  1. Send
    jq . {{FILE}}

    Sends Enter afterwards.

Query JSON

Run: jq "{{FILTER}}" {{FILE}}

1 step · 2 inputs

  1. Send
    jq "{{FILTER}}" {{FILE}}

    Sends Enter afterwards.

Linux - Permissions & Ownership

16 buttons

Show Permissions

Run: ls -ld {{PATH}}

1 step · 1 input

  1. Send
    ls -ld {{PATH}}

    Sends Enter afterwards.

Change Permissions

Run: chmod {{MODE}} {{PATH}}

1 step · 2 inputs

  1. Send
    chmod {{MODE}} {{PATH}}

    Sends Enter afterwards.

Change Permissions Recursively

Run: chmod -R {{MODE}} {{PATH}}

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

  1. Send
    chmod -R {{MODE}} {{PATH}}

    Sends Enter afterwards.

Make Executable

Run: chmod +x {{FILE}}

1 step · 1 input

  1. Send
    chmod +x {{FILE}}

    Sends Enter afterwards.

Change Owner

Run: sudo chown {{OWNER}}:{{GROUP}} {{PATH}}

1 step · 3 inputs

  1. Send
    sudo chown {{OWNER}}:{{GROUP}} {{PATH}}

    Sends Enter afterwards.

Change Owner Recursively

Run: sudo chown -R {{OWNER}}:{{GROUP}} {{PATH}}

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

  1. Send
    sudo chown -R {{OWNER}}:{{GROUP}} {{PATH}}

    Sends Enter afterwards.

Change Group

Run: sudo chgrp {{GROUP}} {{PATH}}

1 step · 2 inputs

  1. Send
    sudo chgrp {{GROUP}} {{PATH}}

    Sends Enter afterwards.

Show Current Umask

Run: umask

1 step

  1. Send
    umask

    Sends Enter afterwards.

Set Umask

Run: umask {{MODE}}

1 step · 1 input

  1. Send
    umask {{MODE}}

    Sends Enter afterwards.

List ACL

Run: getfacl {{PATH}}

1 step · 1 input

  1. Send
    getfacl {{PATH}}

    Sends Enter afterwards.

Set User ACL

Run: setfacl -m u:{{USERNAME}}:{{PERMISSIONS}} {{PATH}}

1 step · 3 inputs

  1. Send
    setfacl -m u:{{USERNAME}}:{{PERMISSIONS}} {{PATH}}

    Sends Enter afterwards.

Set Default ACL

Run: setfacl -d -m u:{{USERNAME}}:{{PERMISSIONS}} {{DIRECTORY}}

1 step · 3 inputs

  1. Send
    setfacl -d -m u:{{USERNAME}}:{{PERMISSIONS}} {{DIRECTORY}}

    Sends Enter afterwards.

Remove ACL

Run: setfacl -b {{PATH}}

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

  1. Send
    setfacl -b {{PATH}}

    Sends Enter afterwards.

List File Attributes

Run: lsattr {{PATH}}

1 step · 1 input

  1. Send
    lsattr {{PATH}}

    Sends Enter afterwards.

Make File Immutable

Run: sudo chattr +i {{FILE}}

1 step · 1 input

  1. Send
    sudo chattr +i {{FILE}}

    Sends Enter afterwards.

Remove Immutable Attribute

Run: sudo chattr -i {{FILE}}

1 step · 1 input

  1. Send
    sudo chattr -i {{FILE}}

    Sends Enter afterwards.

Linux - Processes & Jobs

24 buttons

List Processes

Run: ps aux

1 step

  1. Send
    ps aux

    Sends Enter afterwards.

Process Tree

Run: pstree -ap

1 step

  1. Send
    pstree -ap

    Sends Enter afterwards.

Interactive Process Monitor

Run: top

1 step

  1. Send
    top

    Sends Enter afterwards.

HTop

Run: htop

1 step

  1. Send
    htop

    Sends Enter afterwards.

Find Process

Run: pgrep -af "{{PATTERN}}"

1 step · 1 input

  1. Send
    pgrep -af "{{PATTERN}}"

    Sends Enter afterwards.

Show Process Details

Run: ps -fp {{PID}}

1 step · 1 input

  1. Send
    ps -fp {{PID}}

    Sends Enter afterwards.

Show Process Tree by PID

Run: pstree -p {{PID}}

1 step · 1 input

  1. Send
    pstree -p {{PID}}

    Sends Enter afterwards.

Show Open Files by Process

Run: lsof -p {{PID}}

1 step · 1 input

  1. Send
    lsof -p {{PID}}

    Sends Enter afterwards.

Show Process Working Directory

Run: readlink -f /proc/{{PID}}/cwd

1 step · 1 input

  1. Send
    readlink -f /proc/{{PID}}/cwd

    Sends Enter afterwards.

Terminate Process

Run: kill {{PID}}

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

  1. Send
    kill {{PID}}

    Sends Enter afterwards.

Force Kill Process

Run: kill -9 {{PID}}

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

  1. Send
    kill -9 {{PID}}

    Sends Enter afterwards.

Terminate Processes by Name

Run: pkill {{PROCESS_NAME}}

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

  • Stops or disables a service
  1. Send
    pkill {{PROCESS_NAME}}

    Sends Enter afterwards.

Renice Process

Run: sudo renice {{PRIORITY}} -p {{PID}}

1 step · 2 inputs

  1. Send
    sudo renice {{PRIORITY}} -p {{PID}}

    Sends Enter afterwards.

Run in Background

Run: {{COMMAND}} &

1 step · 1 input

  1. Send
    {{COMMAND}} &

    Sends Enter afterwards.

Run Detached with Nohup

Run: nohup {{COMMAND}} > {{LOG_FILE}} 2>&1 &

1 step · 2 inputs

  1. Send
    nohup {{COMMAND}} > {{LOG_FILE}} 2>&1 &

    Sends Enter afterwards.

List Shell Jobs

Run: jobs -l

1 step

  1. Send
    jobs -l

    Sends Enter afterwards.

Bring Job to Foreground

Run: fg %{{JOB_ID}}

1 step · 1 input

  1. Send
    fg %{{JOB_ID}}

    Sends Enter afterwards.

Send Job to Background

Run: bg %{{JOB_ID}}

1 step · 1 input

  1. Send
    bg %{{JOB_ID}}

    Sends Enter afterwards.

Show Command Runtime

Run: time {{COMMAND}}

1 step · 1 input

  1. Send
    time {{COMMAND}}

    Sends Enter afterwards.

Run With Timeout

Run: timeout {{DURATION}} {{COMMAND}}

1 step · 2 inputs

  1. Send
    timeout {{DURATION}} {{COMMAND}}

    Sends Enter afterwards.

Watch Command

Run: watch -n {{SECONDS}} "{{COMMAND}}"

1 step · 2 inputs

  1. Send
    watch -n {{SECONDS}} "{{COMMAND}}"

    Sends Enter afterwards.

List Open Files

Run: lsof

1 step

  1. Send
    lsof

    Sends Enter afterwards.

List Deleted Open Files

Run: lsof +L1

1 step

  1. Send
    lsof +L1

    Sends Enter afterwards.

Trace Process System Calls

Run: sudo strace -p {{PID}}

1 step · 1 input

  1. Send
    sudo strace -p {{PID}}

    Sends Enter afterwards.

Linux - Archives, Checksums & Transfer

20 buttons

Create Tar Archive

Run: tar -cvf {{ARCHIVE}} {{SOURCE}}

1 step · 2 inputs

  1. Send
    tar -cvf {{ARCHIVE}} {{SOURCE}}

    Sends Enter afterwards.

Extract Tar Archive

Run: tar -xvf {{ARCHIVE}} -C {{DESTINATION}}

1 step · 2 inputs

  1. Send
    tar -xvf {{ARCHIVE}} -C {{DESTINATION}}

    Sends Enter afterwards.

Create Gzip Tar Archive

Run: tar -czvf {{ARCHIVE}} {{SOURCE}}

1 step · 2 inputs

  1. Send
    tar -czvf {{ARCHIVE}} {{SOURCE}}

    Sends Enter afterwards.

Extract Gzip Tar Archive

Run: tar -xzvf {{ARCHIVE}} -C {{DESTINATION}}

1 step · 2 inputs

  1. Send
    tar -xzvf {{ARCHIVE}} -C {{DESTINATION}}

    Sends Enter afterwards.

Create Bzip2 Tar Archive

Run: tar -cjvf {{ARCHIVE}} {{SOURCE}}

1 step · 2 inputs

  1. Send
    tar -cjvf {{ARCHIVE}} {{SOURCE}}

    Sends Enter afterwards.

Extract Bzip2 Tar Archive

Run: tar -xjvf {{ARCHIVE}} -C {{DESTINATION}}

1 step · 2 inputs

  1. Send
    tar -xjvf {{ARCHIVE}} -C {{DESTINATION}}

    Sends Enter afterwards.

Create XZ Tar Archive

Run: tar -cJvf {{ARCHIVE}} {{SOURCE}}

1 step · 2 inputs

  1. Send
    tar -cJvf {{ARCHIVE}} {{SOURCE}}

    Sends Enter afterwards.

Extract XZ Tar Archive

Run: tar -xJvf {{ARCHIVE}} -C {{DESTINATION}}

1 step · 2 inputs

  1. Send
    tar -xJvf {{ARCHIVE}} -C {{DESTINATION}}

    Sends Enter afterwards.

List Archive Contents

Run: tar -tvf {{ARCHIVE}}

1 step · 1 input

  1. Send
    tar -tvf {{ARCHIVE}}

    Sends Enter afterwards.

Create Zip Archive

Run: zip -r {{ARCHIVE}} {{SOURCE}}

1 step · 2 inputs

  1. Send
    zip -r {{ARCHIVE}} {{SOURCE}}

    Sends Enter afterwards.

Extract Zip Archive

Run: unzip {{ARCHIVE}} -d {{DESTINATION}}

1 step · 2 inputs

  1. Send
    unzip {{ARCHIVE}} -d {{DESTINATION}}

    Sends Enter afterwards.

Gzip File

Run: gzip {{FILE}}

1 step · 1 input

  1. Send
    gzip {{FILE}}

    Sends Enter afterwards.

Gunzip File

Run: gunzip {{FILE}}

1 step · 1 input

  1. Send
    gunzip {{FILE}}

    Sends Enter afterwards.

SHA256 Checksum

Run: sha256sum {{FILE}}

1 step · 1 input

  1. Send
    sha256sum {{FILE}}

    Sends Enter afterwards.

MD5 Checksum

Run: md5sum {{FILE}}

1 step · 1 input

  1. Send
    md5sum {{FILE}}

    Sends Enter afterwards.

Verify SHA256 Checksum

Run: echo "{{CHECKSUM}} {{FILE}}" | sha256sum -c -

1 step · 2 inputs

  1. Send
    echo "{{CHECKSUM}}  {{FILE}}" | sha256sum -c -

    Sends Enter afterwards.

Base64 Encode File

Run: base64 {{FILE}}

1 step · 1 input

  1. Send
    base64 {{FILE}}

    Sends Enter afterwards.

Base64 Decode File

Run: base64 -d {{FILE}} > {{OUTPUT_FILE}}

1 step · 2 inputs

  1. Send
    base64 -d {{FILE}} > {{OUTPUT_FILE}}

    Sends Enter afterwards.

Rsync Local Directory

Run: rsync -avh --progress {{SOURCE}} {{DESTINATION}}

1 step · 2 inputs

  1. Send
    rsync -avh --progress {{SOURCE}} {{DESTINATION}}

    Sends Enter afterwards.

Rsync Mirror With Delete

Run: rsync -avh --delete {{SOURCE}} {{DESTINATION}}

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

  1. Send
    rsync -avh --delete {{SOURCE}} {{DESTINATION}}

    Sends Enter afterwards.

Version history

  • Revision 1 current

    First published version.

    13 Aug 2026 · 121.6 KB · needs 1.0.0+ · 7237589860b71608…

Something wrong with this set?

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