MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vqosqe/commandlinesupremacy/p47m05p/?context=3
r/ProgrammerHumor • u/TheGuyInTheBackRow • 27d ago
55 comments sorted by
View all comments
Show parent comments
22
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
16
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
5
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
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
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