Skip to content

Instantly share code, notes, and snippets.

@tokgozmusa
Created December 9, 2017 18:55
Show Gist options
  • Save tokgozmusa/7ae0c81d0b08753b8d755719dd73a9f9 to your computer and use it in GitHub Desktop.
Save tokgozmusa/7ae0c81d0b08753b8d755719dd73a9f9 to your computer and use it in GitHub Desktop.
Useful Terminal Commands
$ lsof -i tcp:8081
$ kill PID
$ ps aux
$ ps aux | grep "process name"
$ pkill processID
$ chsh -s /bin/zsh
$ chsh -s /bin/bash
$ chsh -s $(which zsh)
$ tmux split-window
$ tmux split-window -h
$ echo $ANDROID_HOME
Htop Activity Monitor
$ htop
User manual
$ man programName
$ netstat -tulpn | grep 80
$ ls -a
$ ls -al
$ ls -lrt
$ touch fileName.fileExtension
$ which programName
$ printenv
$ grep -rnw ./ -e "word"
$ nslookup example.com
$ dig ns example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment