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

Command Line Goodness

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →
Jessie
June 04, 2014

Command Line Goodness

Some quick command line tips for beginners. Presented at the 2014 DC RailsGirls workshop

Jessie

June 04, 2014

Transcript

10 slides
  1. Welcome! • Command line intro • Key commands you can

    use to be more productive • Difference between Windows and *nix/OSX commands
  2. About Me • Jessie Link • Director of Engineering –

    Living Social • Former US Air Force officer, Wellesley grad • I <3 RailsGirls • I am lazy!
  3. Why Use the Command Line • Makes you faster •

    Powerful • Concise • Sometimes it’s the only way to run certain programs
  4. Common commands for getting around in your directories • cd

    <directoryname> – Change directory – .. lets you go up one level • ls <directoryname> – List contents of directory – Command for windows is dir • pwd – Shows directory you are currently in
  5. Moving around on the command line • Ctrl + Left/Right

    arrow – Jumps between arguments in your – Option instead of Ctrl on Mac • Ctrl + U clears the line • Ctrl + A or the Home key takes you to the front of the line • Ctrl + E or the End key takes you to the end of the line
  6. Helpful tips • Tab – Autocompletes directory and/or file name

    • Up/down arrow – Cycles through commands you’ve previously inputted • clear • Make your terminal beautiful by customizing your ~/.bashrc or ~/.bash_profile
  7. If you are on Windows… • Consider using Cygwin •

    /? after any command will show help and optional flags • To switch between different drives simply type <driveletter>: (e.g - e: will switch to the E drive)
  8. Thank you! • @mad_typist on twitter • Come hang out

    with me at the various DC Tech meetups • Get the slides here: https:// speakerdeck.com/madtypist/ command-line-goodness 10

More Decks by Jessie

Other Decks in Programming