intent: find what graphics device OpenGL is using

command: glxinfo -B

explanation: Shows the OpenGL vendor, renderer, and version in a short summary.

shell: bash zsh fish

safety: safe-readonly


intent:
show which GPU Vulkan is using
see Vulkan driver info
check Vulkan renderer
find Vulkan device information

command: vulkaninfo --summary

explanation: Shows a concise summary of Vulkan devices and drivers.


intent:
list disks and partitions
show block devices
see drives and partitions
inspect storage devices

command: lsblk

explanation: Lists block devices such as disks, partitions, and mount points.


intent:
show disk free space
check filesystem usage
see disk usage by filesystem
how full are my disks

command: df -h

explanation: Shows filesystem size, used space, and available space in human-readable units.


intent:
show size of current directory
check folder size
how large is this directory
measure directory disk usage

command: du -sh .

explanation: Shows total size of the current directory.


intent: show biggest files under current directory

command: find . -type f -size +500M

explanation: Finds files larger than a given size.


intent:
find a file by name ignoring case
search for filename case insensitive
locate file by partial name
find matching filename

command: find . -iname '*pattern*'

explanation: Searches recursively for files whose names match a case-insensitive pattern.


intent:
search text recursively in files
grep through a project
find text in source tree
search contents of files fast

command: rg 'pattern'

explanation: Searches recursively for text, usually faster and cleaner than grep -R.


intent:
show open listening ports
list listening sockets
see what ports are open locally
check listening network services

command: ss -ltnp

explanation: Shows listening TCP sockets and associated processes when permitted.


intent:
find process using port 8080
see what is listening on a port
which program owns port 3000
identify service bound to port

command: ss -ltnp | grep ':8080'

explanation: Filters listening sockets to the requested port.

requires: ss grep


intent:
show IP addresses
list network interfaces and addresses
see local IPs
inspect interface addresses

command: ip addr

explanation: Shows network interfaces and assigned IP addresses.


intent:
show routing table
see default route
inspect routes
what route is this host using

command: ip route

explanation: Displays the kernel routing table, including the default route.


intent:
test network reachability
ping a host
check if a machine is reachable
see if DNS and network work

command: ping -c 4 example.com

explanation: Sends a few ICMP echo requests to test reachability and latency.


intent:
show HTTP headers
inspect response headers from a URL
check server response headers
see HTTP status and headers

command: curl -I https://example.com

explanation: Fetches only the response headers from a URL.


intent:
download a file from a URL
save URL to local file
fetch a file with curl
download file without browser

explanation: Downloads a file and saves it with the remote name.


intent:
show boot errors
inspect errors from current boot
check systemd errors since boot
look at boot logs

command: journalctl -b -p err

explanation: Shows error-priority messages from the current boot.


intent:
follow logs for a systemd service
tail service logs
watch logs from sshd
stream unit logs

command: journalctl -u sshd -f

explanation: Follows logs for a specific systemd unit in real time.


intent:
find a running process by name
check if process is running
search process list
locate process from command name

command: ps aux | grep '[n]ame'

explanation: Searches the process list while avoiding matching the grep process itself.

requires: ps grep


intent:
find process by name with pid
show pid for matching process
lookup running process and command line
find process quickly

command: pgrep -a name

explanation: Prints matching PIDs along with their command lines.


intent:
show memory usage
check RAM usage
how much memory is free
inspect memory consumption summary

command: free -h

explanation: Shows total, used, and available memory in human-readable units.


intent:
show top processes
inspect CPU usage live
watch system activity
interactive process viewer

command: top

explanation: Shows a live interactive overview of processes and resource usage.


intent:
make a script executable
add execute permission to file
chmod script so it can run directly
set executable bit

command: chmod +x script.sh

explanation: Adds execute permission so the file can be run directly.

safety: safe-modifying


intent:
extract a tar.gz archive
unpack tgz file
untar compressed archive
open tarball

command: tar -xvf archive.tar.gz

explanation: Extracts files from a tar archive; some users prefer -z explicitly for gzip.


intent:
create a tar.gz archive
compress a directory into tar.gz
make a tarball
archive files into gzip tar

command: tar -cvzf archive.tar.gz dir/

explanation: Creates a gzip-compressed tar archive from a directory.


intent:
check status of a service
see if systemd service is running
inspect service health
show systemctl status

command: systemctl status sshd

explanation: Shows service state, recent logs, and unit metadata.


intent:
restart a service
bounce systemd unit
restart sshd
reload service by restarting it

command: sudo systemctl restart sshd

explanation: Restarts a systemd service; usually requires root privileges.

requires: systemctl sudo

safety: privileged-modifying


intent:
find which package owns a file
what rpm provides this path
determine package for installed file
lookup file owner package

command: rpm -qf /path/to/file

explanation: Shows which installed package owns a given file; dnf provides can search repos too.

platform: linux fedora


intent:
search for a package in dnf
find package by name or description
lookup package in repositories
search repo packages

command: dnf search keyword

explanation: Searches package metadata in enabled repositories.


intent:
show git status briefly
check repo state
see changed files in git
short git status

command: git status --short

explanation: Shows tracked and untracked file changes in a compact format.

platform: linux macos


intent:
show concise git history
see commit graph briefly
inspect recent commits compactly
git log one line graph

command: git log --oneline --graph --decorate -n 20

explanation: Shows a compact decorated commit graph for recent history.


intent:
show files changed in last commit
list files changed by commit
see modified files from HEAD
inspect changed paths in commit

command: git show --name-only --oneline HEAD

explanation: Shows the last commit summary and the files it changed.