Start with a free account
Register once for two complete sample scripts on each scripting site. No card required. Annual membership is coming soon for the remaining library.
Create your free account or sign in →YOUR DAILY SUPPORT WORKBENCH
Find the task. Tailor the script. Keep your work.
29 distinct scripts · Search by task, subject or library · Bash 4+ / GNU Linux utilities
Register once for two complete sample scripts on each scripting site. No card required. Annual membership is coming soon for the remaining library.
Create your free account or sign in →SEARCH → TAILOR → REVIEW → COPY
TAILOR TO YOUR ENVIRONMENT
Choose checks for the edited text. This page does not run your code.
UNDERSTAND WHAT YOU RUN
These examples target GNU/Linux, Bash 4+ and the named utilities. systemctl and journalctl require a systemd host. macOS utilities differ; do not assume identical flags.
bash --version # Parse only; does not run the script body: bash -n script.sh # After review on a suitable test host: bash script.sh
Bash scripts compose installed commands. Check the command before use. Install missing tools through your organisation’s approved package process, not arbitrary downloaded installer pipes.
command -v find command -v systemctl command -v openssl # ShellCheck, if already installed: shellcheck script.sh
Quoted variables prevent accidental splitting and glob expansion. A double dash ends options for commands that support it. strict mode helps surface failures, but is not a complete safety check.
set -euo pipefail folder="/path with spaces" printf "%s\n" "$folder"
Begin as a normal user. Some logs and processes are hidden without additional access. Ask for the minimum authorised permissions rather than automatically adding sudo. Redact host and account details from shared reports.
bash -n script.sh # No remote script execution occurs in this workbench.
YOUR LOCAL WORKSPACE
Saved in this browser only. Export before clearing browser data. Do not store credentials or confidential customer data.
BROWSE THE LIBRARY
Browse 29 distinct tasks. Two designated samples are available to registered free accounts; the remaining scripts are reserved for membership, which is coming soon.
Check byte and inode utilisation for one filesystem.
df · Bash 4+ / GNU Linux utilitiesFind the filesystem serving a path and inspect its effective mount options. Does not mount or remount.
findmnt · Bash 4+ on Linux with systemd and util-linuxMeasure journal storage before investigating log growth; does not print individual log entries.
journalctl · Bash 4+ on Linux; commands listed in the module field must be installedRead selected service state properties without restarting it.
systemctl · Bash 4+ / GNU Linux utilitiesLists failed units across service types without restarting them. Needs a running systemd manager; permission/connection errors remain visible.
Linux / Bash · Linux with Bash 4+Show listening TCP sockets without scanning other hosts.
ss · Bash 4+ / GNU Linux utilitiesInspect Linux interface byte counters. Adapted from djeada/Bash-Scripts with retained MIT licence.
sysfs / cat · Bash 4+ / GNU Linux utilitiesShows static resolver directives without making DNS queries. systemd-resolved stub addresses may hide actual upstream servers. Requires awk.
Linux / Bash · Linux with Bash 4+Read-only IPv4 routes and policy rules in the current network namespace. Requires iproute2; no traffic is sent.
Linux / Bash · Linux with Bash 4+Show the most recent 50 warning-or-higher entries for an authorised systemd unit.
journalctl · Bash 4+ / GNU Linux utilitiesFind regular files writable by everyone under one authorised directory; no changes.
find · Bash 4+ / GNU Linux utilitiesList dangling symlinks without following them into other filesystems.
find · Bash 4+ / GNU Linux utilitiesCount files and subdirectories. Adapted from djeada/Bash-Scripts with retained MIT licence.
find / wc · Bash 4+ / GNU Linux utilitiesResolve one user through the configured name service and show group membership.
getent / id · Bash 4+ / GNU Linux utilitiesRead certificate dates, issuer and subject without using a private key or remote connection.
openssl · Bash 4+ / GNU Linux utilitiesIdentify operating system and release. Adapted from djeada/Bash-Scripts with retained MIT licence.
uname / awk · Bash 4+ / GNU Linux utilitiesRead Linux hardware temperatures. Adapted from djeada/Bash-Scripts with retained MIT licence.
sysfs / awk · Bash 4+ / GNU Linux utilitiesRead configured timezone, NTP enablement and synchronisation state. Requires a running systemd system bus.
timedatectl · Bash 4+ on Linux with systemd and util-linuxCompare descriptor count with process limits when diagnosing too-many-open-files errors. Requires permission to read the target process procfs entries.
procfs / find / awk · Bash 4+ on Linux; commands listed in the module field must be installedSummarise Git commits by author. Adapted from djeada/Bash-Scripts with retained MIT licence.
git / sort / uniq · Bash 4+ / GNU Linux utilitiesReview scheduled systemd timer execution, including inactive loaded timers.
systemctl · Bash 4+ on Linux with systemd and util-linuxFind package ownership using the local package database; does not install packages or contact repositories.
dpkg-query or rpm · Bash 4+ on Linux; commands listed in the module field must be installedRead kernel CPU, memory and I/O stall percentages; requires PSI support. These are recent pressure measurements, not utilisation.
Linux / Bash · Linux with Bash 4+Lists active swap areas and used kilobytes from procfs. Does not enable or disable swap.
Linux / Bash · Linux with Bash 4+Reports the recorded taint bitmask for support cases. Kernel may remain tainted after a module unload; no diagnosis inferred.
Linux / Bash · Linux with Bash 4+Local passwd entries only, no LDAP enumeration. Prints account names with shared UID; sharing can be intentional. Requires awk.
Linux / Bash · Linux with Bash 4+Shows kernel CPU ID sets in sysfs. Empty offline set is normal. Does not change CPU state or report utilisation.
Linux / Bash · Linux with Bash 4+Read Linux huge-page pool counts and size when a database cannot obtain reserved pages.
awk, procfs · Bash 4+ on LinuxCheck the current shell core-size limit and kernel core-dump destination without generating a crash or changing settings.
Bash, procfs · Bash 4+ on Linuxsystemctl list-timers --all inspects loaded systemd timers. An absent item is not proof that no timer unit file exists; check unit files separately when diagnosing missing schedules.
Official documentation ↗Guidance reviewed 11 October 2026. Script results still depend on permissions, installed versions and your environment.
SUPPORT PLAYBOOK
Collect a small set of read-only observations before restarting or reconfiguring a service.