Skip to content

Instantly share code, notes, and snippets.

@serverwentdown
Last active May 15, 2021 11:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save serverwentdown/a4287ddf899e73d4727b46ce0b6ec56c to your computer and use it in GitHub Desktop.
Save serverwentdown/a4287ddf899e73d4727b46ce0b6ec56c to your computer and use it in GitHub Desktop.

Some useful one-liners

Download tared binaries

# dust
wget -O - https://github.com/bootandy/dust/releases/download/v0.5.4/dust-v0.5.4-x86_64-unknown-linux-musl.tar.gz | tar -xz --strip-components 1 '*dust'

Process tree

ps axfo pid,ppid,command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment