Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Learn to Love the Terminal

Learn to Love the Terminal

Brad Parbs

March 05, 2016
Tweet

More Decks by Brad Parbs

Other Decks in Technology

Transcript

  1. I ’ M B R A D PA R B

    S Developer at WebDevStudios http://brad.party twitter: @BradParbs github: @BradP # W C L A N C
  2. H O W T O G E T T H

    E R E • Mac - Terminal • Win - CMD • Really, though: • Mac - iTerm2 • Win - Git Bash # W C L A N C
  3. B U T W H AT I F I B

    R E A K I T • rm -rf / is scary • modern terminals keep you safe • it is a bit scary, but play around # W C L A N C
  4. B A S I C U N I X C

    O M M A N D S • ls • ls -las # W C L A N C
  5. B A S I C U N I X C

    O M M A N D S • cd <something> • cd .. • cd ~ # W C L A N C
  6. B A S I C U N I X C

    O M M A N D S • pwd # W C L A N C
  7. B A S I C U N I X C

    O M M A N D S • mkdir <something> • mkdir -p <some/thing> # W C L A N C
  8. B A S I C U N I X C

    O M M A N D S • rmdir <something> # W C L A N C
  9. B A S I C U N I X C

    O M M A N D S • cp <source> <destination> • mv <source> <destination> # W C L A N C
  10. B A S I C U N I X C

    O M M A N D S • man <command> # W C L A N C
  11. # ! • What is Bash? • Who uses it?

    • How does it work? # W C L A N C
  12. Y O U R F I R S T B

    A S H S C R I P T # W C L A N C
  13. Y O U R F I R S T B

    A S H S C R I P T # W C L A N C
  14. T I M E T O P U T I

    T I N T O A C T I O N • I use VVV & vv • I use Sublime Text • I save a lot of things for each project • I want to stay organized # W C L A N C
  15. E V E N P H P C A N

    W O R K ! # W C L A N C
  16. W P C L I • It’s awesome, catch Ryan

    Duff’s talk @ 9am • (may need a time machine or WordPress.tv) # W C L A N C
  17. W P C L I + B A S H

    S C R I P T M A G I C • Go through list of directories on server, run update commands • Backup database, move file to archive folder • Anything # W C L A N C
  18. T O O L S I L I K E

    T O U S E • Homebrew http://brew.sh • Windows: • http://scoop.sh/ • https://chocolatey.org/ # W C L A N C
  19. T O O L S I L I K E

    T O U S E • zsh • oh-my-zsh # W C L A N C
  20. O H - M Y - Z S H P

    L U G I N S • brew • brew-cask • catimg • git • git-extras • github • osx • sublime • vagrant • z # W C L A N C
  21. T O O L S I L I K E

    T O U S E • tig # W C L A N C
  22. I D E A S F O R S C

    R I P T S • auto setup project files • run test suites • post-process scripts / styles • verify services are running • clean up folders • open applications / tools on startup • create gifs from movie subtitles • generate static json files from directories • anything # W C L A N C
  23. Q U E S T I O N S Twitter:

    @BradParbs mail: [email protected] posts / etc: http://brad.party # W C L A N C buy the shirt I’m wearing from Rami: teechip.com/worndpress