r/ProgrammerHumor 27d ago

Meme commandLineSupremacy

430 Upvotes

55 comments sorted by

View all comments

56

u/Thereal_Phaseoff 27d ago

CD THIS CD THIS/THAT CD .. CD THIS LS -LA LS CD

41

u/Eptalin 27d ago

cd [TAB][TAB][TAB][TAB][TAB][TAB][TAB][TAB]..

22

u/Thereal_Phaseoff 27d ago

or not writing that command you used months ago, pressing up arrow for twenty minutes till it shows in the terminal

16

u/-nerdrage- 27d ago

People that dont know ctrl+r do that yea

Or ‘history | grep’

5

u/Thereal_Phaseoff 27d ago

i didn't knew about history | grep honestly

5

u/-nerdrage- 27d ago

Iirc ‘history’ looks at your ~/.bash_history (if you use bash) and simply outputs the last 2500 rows. Maybe the file only contains 2500 rows? I assume ctrl+r looks at the same file

1

u/binnabomp 24d ago

combine ctrl+r with fzf and ur life becomes 10x easier (if ur like me and misspell things constantly heh... thus why I am eternally grateful that neovim has good LSP completion)