Skip to content
FREE ACCOUNT · 5 scripts + 5 guide downloads every week · Full-access passes available worldwide
Try an example in the editor

Find weak Wi-Fi readings

Fictional report. Change a label, signal percentage or threshold to compare the output. The example reads only the text below and changes no device settings.

Matching readings

YOUR DAILY SUPPORT WORKBENCH

Bash / Shell Desk.

New scripts added regularly. Practical tasks for everyday IT support. See the latest additions →

Find the task. Tailor the script. Keep your work.

55 distinct scripts · Search by task, subject or library · Bash 4+ / GNU Linux utilities

Conceptual illustration of bash support tools.

Start with a free account

Register once to choose 5 scripts and 5 guide downloads per week across all six desks. No card required. A full-access pass unlocks the complete library.

Create your free account or sign in →

SEARCH → TAILOR → REVIEW → COPY

Find your next script.

New to bash? Start here ↓

TAILOR TO YOUR ENVIRONMENT

Choose a script

Setup and validation

Official documentation ↗
Review checks

Choose checks for the edited text. This page does not run your code.

FULL-ACCESS FEATURE

Explore modules & tools.

Full setup notes, discovery commands and module reference entries are reserved for paid access. Your weekly script allowance is available after sign-in.

Preview membership benefits →

UNDERSTAND WHAT YOU RUN

Modules, setup & testing.

Use Bash on the intended platform

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

Shell tools are your modules

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

Quote paths and fail clearly

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"

Review permissions and output

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

Build a support runbook.

Saved in this browser only. Export before clearing browser data. Do not store credentials or confidential customer data.

BROWSE THE LIBRARY

Bash / Shell tasks, by subject.

Browse 79 distinct tasks. Choose 5 scripts and 5 guide downloads per week with a free account. An active full-access pass unlocks the complete library.

Storage · 5 tasks
Services · 3 tasks
Networking · 5 tasks
Logs · 1 tasks
  • Read recent service errors

    Show the most recent 50 warning-or-higher entries for an authorised systemd unit.

    journalctl · Bash 4+ / GNU Linux utilities
Permissions · 1 tasks
  • Find world-writable files

    Find regular files writable by everyone under one authorised directory; no changes.

    find · Bash 4+ / GNU Linux utilities
Files · 5 tasks
Identity & access · 3 tasks
Security · 1 tasks
  • Inspect a local PEM certificate

    Read certificate dates, issuer and subject without using a private key or remote connection.

    openssl · Bash 4+ / GNU Linux utilities
Diagnostics · 5 tasks
  • Identify operating system and release

    Identify operating system and release. Adapted from djeada/Bash-Scripts with retained MIT licence.

    uname / awk · Bash 4+ / GNU Linux utilities
  • Read Linux hardware temperatures

    Read Linux hardware temperatures. Adapted from djeada/Bash-Scripts with retained MIT licence.

    sysfs / awk · Bash 4+ / GNU Linux utilities
  • Inspect system clock synchronisation state

    Read configured timezone, NTP enablement and synchronisation state. Requires a running systemd system bus.

    timedatectl · Bash 4+ on Linux with systemd and util-linux
  • Inspect one process file descriptor usage

    Compare 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 installed
  • Inspect core-dump routing and shell limit

    Check the current shell core-size limit and kernel core-dump destination without generating a crash or changing settings.

    Bash, procfs · Bash 4+ on Linux
Development · 1 tasks
  • Summarise Git commits by author

    Summarise Git commits by author. Adapted from djeada/Bash-Scripts with retained MIT licence.

    git / sort / uniq · Bash 4+ / GNU Linux utilities
Operations · 1 tasks
  • Inspect systemd timer schedules

    Review scheduled systemd timer execution, including inactive loaded timers.

    systemctl · Bash 4+ on Linux with systemd and util-linux
Package management · 3 tasks
Performance · 6 tasks
System · 1 tasks
Hardware · 1 tasks
Containers · 3 tasks
Processes · 1 tasks
User environment · 1 tasks
Virtual machines · 1 tasks
Startup · 1 tasks
Linux diagnostics · 10 tasks
  • Inspect listening Unix-domain sockets

    Identify local IPC socket listeners when an application cannot reach its local service. Process details depend on permission.

    ss · GNU/Linux with Bash and the named utility
  • Inspect interface packet error counters

    Read link errors and dropped packet counters. Counters are cumulative and alone do not establish a current fault.

    ip · GNU/Linux with Bash and the named utility
  • Inspect block-device filesystem identifiers

    Compare filesystem type, UUID and mount points before a storage escalation. Does not mount or repair anything.

    lsblk · GNU/Linux with Bash and the named utility
  • List retained journal boot sessions

    Find the available boot IDs before investigating a problem that happened before restart. Retention and permissions limit visibility.

    journalctl · GNU/Linux with Bash and the named utility
  • Inspect active login sessions on a systemd host

    List sessions known to systemd-logind before troubleshooting a disconnected desktop. User identifiers appear in output.

    loginctl · GNU/Linux with Bash and the named utility
  • Verify fstab table consistency without mounting

    Run util-linux findmnt verification against the configured mount table. This does not mount, unmount or change files.

    findmnt · GNU/Linux with Bash and the named utility
  • Inspect local interface addresses without geolocation

    Retains local address inspection from the upstream IP tool. Removes public-IP services, geolocation, HTTP requests and file logging. Lists IPv4/IPv6 addresses, including loopback and potentially public addresses; redact before sharing.

    ip · GNU/Linux with Bash and named utilities
  • Inspect mount propagation for container support

    Show shared, slave and private mount propagation while diagnosing why mounts appear or fail to appear inside a container. Does not mount or change propagation.

    findmnt · GNU/Linux with Bash and named utilities
  • Find recent kernel out-of-memory evidence

    Read the current boot kernel journal and filter out-of-memory evidence from the last day. Requires journal read permissions; no sudo or service changes. Empty results do not rule out memory pressure.

    journalctl / grep · GNU/Linux with Bash and named utilities
  • Inspect queued Linux service-manager jobs

    List pending systemd jobs and their ordering relationships during a stalled start or shutdown. Requires a systemd host; does not cancel jobs, restart services or change dependencies.

    systemctl · GNU/Linux with Bash and systemd
Support diagnostics · 1 tasks
Device and gaming diagnostics · 8 tasks
  • Identify Linux GPU devices and bound drivers

    Requires pciutils. Lists graphics-related PCI devices and kernel-driver association. It does not install a driver.

    lspci · Linux; Bash 4+ and listed utilities
  • Check whether OpenGL uses software rendering

    Requires mesa-utils and a graphical session. Inspect renderer output for a software renderer before assuming a hardware fault.

    glxinfo · Linux; Bash 4+ and listed utilities
  • Inspect available Vulkan devices

    Requires vulkan-tools. A Vulkan summary does not guarantee a particular game is compatible.

    vulkaninfo · Linux; Bash 4+ and listed utilities
  • Read Linux display connector status and modes

    Read DRM sysfs connector status and advertised modes. These are advertised modes, not necessarily the currently selected refresh rate.

    Linux sysfs/procfs · Linux; Bash 4+ and listed utilities
  • Inspect CPU memory and IO pressure stalls

    Linux PSI support is required. These pressure figures help separate CPU, memory and storage contention; they are not GPU utilisation.

    Linux sysfs/procfs · Linux; Bash 4+ and listed utilities
  • Read Linux thermal-zone sensor values

    Read exposed thermal zones without changing fan controls. Values are normally millidegrees Celsius; sensor meaning varies by hardware.

    Linux sysfs/procfs · Linux; Bash 4+ and listed utilities
  • Check devices visible to fwupd

    Requires fwupd. Lists supported devices only; does not refresh remote metadata, download firmware or install updates.

    fwupdmgr · Linux; Bash 4+ and listed utilities
  • Check Linux radio soft and hardware blocks

    Requires util-linux rfkill. Shows why Wi-Fi or Bluetooth may be unavailable without unblocking radios or changing policy.

    rfkill · Linux; Bash 4+ and listed utilities
Everyday device checks · 2 tasks
Everyday troubleshooting · 9 tasks
  • Check Linux USB autosuspend settings

    Read USB-device power controls and autosuspend delays when a device disconnects after idling. No settings changed. Missing sysfs values may be normal for a driver or device.

    Bash / Linux sysfs · Linux with Bash 4+
  • Check whether Linux detects external power

    Read the power-supply type and online flag, useful when a laptop fails to detect its charger. An online flag does not confirm sufficient charging wattage.

    Bash / Linux sysfs · Linux with Bash 4+
  • Count Linux network link up/down transitions

    Read network carrier transition counters since interface creation. Frequent changes can suggest cable, adapter or power issues, but do not by themselves identify the cause.

    Bash / Linux sysfs · Linux with Bash 4+
  • Inspect Linux laptop backlight brightness limits

    Read kernel-exposed brightness values to explain a laptop brightness slider. Values are device units, not percentages. No values are written; desktop monitors may expose no backlight device.

    Bash / Linux sysfs · Linux with Bash 4+
  • Check whether Linux reports an external power supply online

    Read non-battery power-supply type and online status from Linux sysfs. Useful when a laptop unexpectedly runs on battery. Online does not prove a charger provides sufficient wattage.

    Bash / Linux sysfs · Linux with Bash 4+
  • Find read-only Linux mounts before saving files

    Show mounted filesystems that advertise the read-only option. Helps explain a read-only filesystem error; does not remount disks or attempt repair.

    Bash / Linux sysfs · Linux with Bash 4+
  • Find Linux applications delaying sleep or shutdown

    List active systemd inhibitor locks and the reasons supplied by applications. This does not acquire a lock or stop applications. Save work before closing an identified application normally.

    bash · Bash on Linux
  • Inspect Linux USB connection speeds and hub layout

    Show USB device layout with negotiated bus speeds and drivers. Useful when a drive or webcam connects through a slower hub. Bus speed is not measured throughput; requires usbutils.

    bash · Bash on Linux
  • Read Linux network error counters before and after a problem

    Run bash interface-errors.sh before and after reproducing the issue. Compare the difference for the active interface. Counts since driver initialisation are not an internet packet-loss percentage.

    bash · Linux with Bash and sysfs

Know which schedules are loaded

systemctl 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

Find the cause of Linux file-watcher and file-handle exhaustion

Find why a tool reports too many open files or file watches before raising Linux limits.

SUPPORT PLAYBOOK

Check a Linux service without changing configuration

Read the useful error when a Linux background application stops working.

SUPPORT PLAYBOOK

Linux service will not start

Find the specific error stopping a Linux service before trying another restart.

SUPPORT PLAYBOOK

Linux filesystem full but files look small

Identify full Linux storage without blindly deleting important files.

SUPPORT PLAYBOOK

Linux service startup is stuck waiting

Identify the dependency holding a Linux service in startup before changing timeouts.

SUPPORT PLAYBOOK

How to check whether user services persist after logout

Check why a Linux user service stops at logout and decide whether persistence is intended.

Before running a script: prerequisites, impact and validation

Read the selected task’s platform, module and permissions. Replace every example value with your approved target. No script runs on this website.

Validation is not certification. Library and syntax checks do not prove a script will work in your tenant. A task without a documented execution result must be treated as not execution-verified in your environment. Read-only diagnostics can still reveal sensitive data.

For changes: obtain approval, make a backup where applicable, document rollback and test in a safe environment. Open the script preflight checklist.

Explore example tasks in this library

Choose a task to open its summary in the script selector. Review requirements before using your weekly free choice or active pass.

Step-by-step setup and troubleshooting guides · Compare all six script libraries