Skip to content

Instantly share code, notes, and snippets.

@h0tw1r3
Created September 17, 2025 17:17
Show Gist options
  • Select an option

  • Save h0tw1r3/5e9af716ee64375d85bde3e7b18371f1 to your computer and use it in GitHub Desktop.

Select an option

Save h0tw1r3/5e9af716ee64375d85bde3e7b18371f1 to your computer and use it in GitHub Desktop.
how to get a linux process list when the ps command isn't available
for x in /proc/*/cmdline; do echo -n "${x#/proc/}: "; cat $x; echo; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment