Skip to content

Instantly share code, notes, and snippets.

@teochengyong
Last active February 22, 2018 03:17
Show Gist options
  • Save teochengyong/cfe646cbe3f8f8d832903f4fe368eb56 to your computer and use it in GitHub Desktop.
Save teochengyong/cfe646cbe3f8f8d832903f4fe368eb56 to your computer and use it in GitHub Desktop.

Revisions

  1. teochengyong renamed this gist Feb 22, 2018. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. teochengyong revised this gist Feb 22, 2018. 2 changed files with 4 additions and 1 deletion.
    4 changes: 4 additions & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    #Command to check which services are running on that particular tcp port
    sudo lsof -i tcp:4200
    #kill the task
    kill -9 {{pid}}
    1 change: 0 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1 +0,0 @@
    sudo lsof -i tcp:4200
  3. teochengyong created this gist Feb 22, 2018.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    sudo lsof -i tcp:4200