Learn to Love the Terminal

Learn to Love the Terminal

D529f2403e21f08bfa16365bdf032f81?s=128

Brad Parbs

March 05, 2016
Tweet

Transcript

  1. 2.

    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. 3.
  3. 6.

    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
  4. 7.

    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
  5. 8.

    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
  6. 9.

    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
  7. 10.

    B A S I C U N I X C

    O M M A N D S • pwd # W C L A N C
  8. 11.

    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
  9. 12.

    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
  10. 13.

    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
  11. 14.

    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
  12. 16.

    # ! • What is Bash? • Who uses it?

    • How does it work? # W C L A N C
  13. 17.

    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. 18.

    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
  15. 21.

    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
  16. 26.

    E V E N P H P C A N

    W O R K ! # W C L A N C
  17. 27.

    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
  18. 28.

    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
  19. 29.

    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
  20. 32.

    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
  21. 34.

    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
  22. 37.

    T O O L S I L I K E

    T O U S E • tig # W C L A N C
  23. 40.

    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
  24. 41.

    Q U E S T I O N S Twitter:

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