Skip to content
Discussion options

You must be logged in to vote
@aliases.register
def _penv(args):
    cat f'/proc/{args[0]}/environ' | tr '\0' '\n'

Handy when debugging daemons, sandboxes, systemd units:

penv 12345

Replies: 2 comments 1 reply

Comment options

anki-code
May 30, 2026
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by anki-code

This comment has been hidden.

@anki-code

This comment has been hidden.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants