September 5, 2014

Terminal

Why?

  • Automation/scriptable
  • "Deployment" to larger computers
  • Access to command line tools

Basics Navigating

  • Go to folder (note forward backslash)
cd my/folder/
  • See contents of folder
ls
  • Where am I?
pwd
  • Go to home folder
cd ~/

Basics commands

  • Create empty file
touch newfile
  • Tab-completion

  • See manual (not working for windows' git bash yet)

man ls
  • See contents of file
cat file