Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 551 Bytes

File metadata and controls

10 lines (9 loc) · 551 Bytes

Bash and Command Line Snippets

  • to reload iTerm: exec $SHELL -l
  • to kill a process: ps -ef | grep puma
  • to REALLY kill: kill -9 24838 (really stop!)
  • to find running process: lsof -wni tcp:3000
  • to kill: kill -9 PID (number of running process)
  • to find a file in the current directory by name: find . | grep participant
  • to find a file in the home directory by name: find ~/ | grep participant Read more here
  • to change a word in vim (ex: pick to s): cw