Skip to content

Instantly share code, notes, and snippets.

@smallyunet
Created January 15, 2023 01:56
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 smallyunet/483c79c479f5c177e6912e0c8a94bd99 to your computer and use it in GitHub Desktop.
Save smallyunet/483c79c479f5c177e6912e0c8a94bd99 to your computer and use it in GitHub Desktop.
Userful shell
../go/bin/go build .
nohup ./eth-collision `pwd` > log 2>&1 &
ps -ef | grep `pwd` | grep -v grep
ps -ef | grep -i `pwd` | grep -v grep | awk '{print $2}' | xargs kill
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment