SHX Script Collection

shx CLI Installation

Run the command below to install the shx command line tool:

curl -sSL https://shx.pages.dev/install | sh

Once installed, run any script using: shx <command> [args] (e.g., shx sysinfo)

anon-repo
Anonymize commit authorship and normalize timestamps to UTC in a Git repository

Using shx CLI:

shx anon-repo

Using curl:

curl -sSL https://shx.pages.dev/anon-repo | sh

Using wget:

wget -qO- https://shx.pages.dev/anon-repo | sh
cleanup
Interactively clear common cache directories and unused artifacts

Using shx CLI:

shx cleanup

Using curl:

curl -sSL https://shx.pages.dev/cleanup | sh

Using wget:

wget -qO- https://shx.pages.dev/cleanup | sh
clear-dns-cache
Cross-platform tool to clear the local DNS cache

Using shx CLI:

shx clear-dns-cache

Using curl:

curl -sSL https://shx.pages.dev/clear-dns-cache | sh

Using wget:

wget -qO- https://shx.pages.dev/clear-dns-cache | sh
compress
Compress a file or directory into a chosen archive format

Using shx CLI:

shx compress

Using curl:

curl -sSL https://shx.pages.dev/compress | sh

Using wget:

wget -qO- https://shx.pages.dev/compress | sh
cowsay
A pure sh implementation of cowsay

Using shx CLI:

shx cowsay

Using curl:

curl -sSL https://shx.pages.dev/cowsay | sh

Using wget:

wget -qO- https://shx.pages.dev/cowsay | sh
disable-suspend
portable suspend disabler

Using shx CLI:

shx disable-suspend

Using curl:

curl -sSL https://shx.pages.dev/disable-suspend | sh

Using wget:

wget -qO- https://shx.pages.dev/disable-suspend | sh
extract
Universal archive extractor

Using shx CLI:

shx extract

Using curl:

curl -sSL https://shx.pages.dev/extract | sh

Using wget:

wget -qO- https://shx.pages.dev/extract | sh
generate-password
Interactively generate a random secure password

Using shx CLI:

shx generate-password

Using curl:

curl -sSL https://shx.pages.dev/generate-password | sh

Using wget:

wget -qO- https://shx.pages.dev/generate-password | sh
ghkey
Add public SSH keys from a GitHub user to authorized_keys

Using shx CLI:

shx ghkey

Using curl:

curl -sSL https://shx.pages.dev/ghkey | sh

Using wget:

wget -qO- https://shx.pages.dev/ghkey | sh
gtop
simple terminal GPU monitor displaying utilization and memory graphs

Using shx CLI:

shx gtop

Using curl:

curl -sSL https://shx.pages.dev/gtop | sh

Using wget:

wget -qO- https://shx.pages.dev/gtop | sh
image-convert
Interactively convert an image format and compress it

Using shx CLI:

shx image-convert

Using curl:

curl -sSL https://shx.pages.dev/image-convert | sh

Using wget:

wget -qO- https://shx.pages.dev/image-convert | sh
matrix
A pure sh matrix digital rain effect

Using shx CLI:

shx matrix

Using curl:

curl -sSL https://shx.pages.dev/matrix | sh

Using wget:

wget -qO- https://shx.pages.dev/matrix | sh
neofetch
Fast and highly compatible system information tool

Using shx CLI:

shx neofetch

Using curl:

curl -sSL https://shx.pages.dev/neofetch | sh

Using wget:

wget -qO- https://shx.pages.dev/neofetch | sh
package-update
updates system packages and user-level self-managed packages

Using shx CLI:

shx package-update

Using curl:

curl -sSL https://shx.pages.dev/package-update | sh

Using wget:

wget -qO- https://shx.pages.dev/package-update | sh
random-quote
Fetch and display a random quote

Using shx CLI:

shx random-quote

Using curl:

curl -sSL https://shx.pages.dev/random-quote | sh

Using wget:

wget -qO- https://shx.pages.dev/random-quote | sh
remove-android-studio-lock
Find and remove the .lock file in standard and Flatpak config paths

Using shx CLI:

shx remove-android-studio-lock

Using curl:

curl -sSL https://shx.pages.dev/remove-android-studio-lock | sh

Using wget:

wget -qO- https://shx.pages.dev/remove-android-studio-lock | sh
remove-history
Squash the entire Git history of the current branch into a single initial commit

Using shx CLI:

shx remove-history

Using curl:

curl -sSL https://shx.pages.dev/remove-history | sh

Using wget:

wget -qO- https://shx.pages.dev/remove-history | sh
shtop
small htop-like process monitor written as a shell script

Using shx CLI:

shx shtop

Using curl:

curl -sSL https://shx.pages.dev/shtop | sh

Using wget:

wget -qO- https://shx.pages.dev/shtop | sh
sysinfo
simple and detailed system information fetcher

Using shx CLI:

shx sysinfo

Using curl:

curl -sSL https://shx.pages.dev/sysinfo | sh

Using wget:

wget -qO- https://shx.pages.dev/sysinfo | sh