Skip to content

Instantly share code, notes, and snippets.

@gyuwon
Last active December 29, 2015 12:39
Show Gist options
  • Save gyuwon/7671818 to your computer and use it in GitHub Desktop.
Save gyuwon/7671818 to your computer and use it in GitHub Desktop.
Ubuntu Commands
# Remove a directory recursively
$ rm -rf [dir-name]
# Rename a directory
# mv [old-path] [new-path]
# Find a process using a specific port
$ lsof -t -i:[port-number]
$ netstat -tulpn | grep :[port-number]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment