Skip to content

Instantly share code, notes, and snippets.

@richiethomas
Created September 21, 2023 11:44
Show Gist options
  • Save richiethomas/b1329104defe0921a9ed7b7e5856c411 to your computer and use it in GitHub Desktop.
Save richiethomas/b1329104defe0921a9ed7b7e5856c411 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
foo0="$(ps -p "$PPID" -o 'args=' 2>/dev/null || true)"
echo "foo0: $foo0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment