Skip to content

Instantly share code, notes, and snippets.

@AlexDemian
Last active November 7, 2018 15:24
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 AlexDemian/db8553c540e5e893c59eccd6555cd603 to your computer and use it in GitHub Desktop.
Save AlexDemian/db8553c540e5e893c59eccd6555cd603 to your computer and use it in GitHub Desktop.
kill -9 $(ps aux | grep text_pattern | awk '{print $2}') # group process kill with filters
lsof -i :7777 #Check socket/port information
grep -Ril 'pattern' # find all files containing specific text on Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment