Hacker News new | ask | show | jobs
by injinj 1274 days ago
I can never remember things. That's why my history file has 100k lines in it.

  $ do create linux bridge
  brctl addbr <bridge_name>
  ip link set <bridge_name> up

  $ do git reverse last commit
  git reset --hard HEAD~1

  $ do gcc show optimizations
  gcc -O -Q --help=optimizers
1 comments

Personally, I didn't remember things because I never stopped to look at what I'm actually doing. After I made it a practice to stop and read the command at least in my mind before I execute it, that made me remember the vast majority of my commands.

Do not mistake lack of attention with poor memory; the former is very easy to fix :).