Skip to content

Instantly share code, notes, and snippets.

@Hansimov
Last active September 5, 2023 03:52
Show Gist options
  • Save Hansimov/cab44ae4bc3a6d3c9b5447d258fbbd07 to your computer and use it in GitHub Desktop.
Save Hansimov/cab44ae4bc3a6d3c9b5447d258fbbd07 to your computer and use it in GitHub Desktop.
Collection of useful Linux commands in daily work

List some useful Linux commands here.

@Hansimov
Copy link
Author

Hansimov commented Sep 5, 2023

List process run on port 28888:

lsof -i:28888

Kill a process run on port 28888:

kill $(lsof -i:28888 | awk 'NR>1 {print $2}')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment