sanderium@lemmy.zip to linuxmemes@lemmy.worldEnglish · 11 days agoJumping Stepslemmy.zipimagemessage-square28fedilinkarrow-up125arrow-down10
arrow-up125arrow-down1imageJumping Stepslemmy.zipsanderium@lemmy.zip to linuxmemes@lemmy.worldEnglish · 11 days agomessage-square28fedilink
minus-square299792458ms@lemmy.ziplinkfedilinkarrow-up0·11 days agoI try to remember commands backwards by how they look(<command> <flags> <arguments>), if they are short, have capital letters and so on… Is that weird? If I give up I open the history file or my good ol’ cheat sheet.
minus-squarePoolloverNathan@programming.devlinkfedilinkarrow-up1·11 days ago(Tip: Most shells allow you to press Ctrl+R to interactively search through history, meaning you won’t have to open a separate file.)
minus-squareMonkeMischief@lemmy.todaylinkfedilinkarrow-up1·10 days agoOh. My. Word. I thought I was clever by using history | grep <bit of command I remember> I KNEW there had to be a better way!
I try to remember commands backwards by how they look(<command> <flags> <arguments>), if they are short, have capital letters and so on… Is that weird? If I give up I open the history file or my good ol’ cheat sheet.
(Tip: Most shells allow you to press Ctrl+R to interactively search through history, meaning you won’t have to open a separate file.)
Oh. My. Word.
I thought I was clever by using
history | grep <bit of command I remember>
I KNEW there had to be a better way!