Terminals and You

Neill R.

Why Terminals?

Single Responsibility Principle

  • Do one thing
  • Do it well
$ ls
Documents Downloads Pictures Videos

Look like a hacker

History

  • Thompson Shell (1971)
    • Data redirection
    • Interaction-only
  • Bourne Shell (sh) (1977)
    • Scripts
    • Variables
    • if/for/case
  • Bourne Again Shell (bash) (1989)
    • Free!
    • Tab completion

But what do I do?

Basic Commands

  • ls
  • cd
  • mkdir/rmdir
  • cp
  • rm
  • mv
  • more/less
  • man

Redirection

  • >, >>
  • <, <<, <<<
  • |

The Last Ingredient:

Creativity

(Insanity)

tr -cs A-Za-z '\n' |
tr A-Z a-z |
sort |
uniq -c |
sort -n |
tail

Not too shabby.

Terminal Workflow

zsh

vim
tmux

Intimidating?

zsh

So
Many
Shortcuts

Efficiency is worth it

Tmux

(Terminal Multiplexer)

Thank you!

Terminal Environments

By Neill Robson

Terminal Environments

AKA "Why are those Linux geeks obsessed with command prompts?"

  • 308