sanderium@lemmy.zip to linuxmemes@lemmy.worldEnglish · 21 days agoJumping Stepslemmy.zipexternal-linkmessage-square18fedilinkarrow-up127arrow-down10
arrow-up127arrow-down1external-linkJumping Stepslemmy.zipsanderium@lemmy.zip to linuxmemes@lemmy.worldEnglish · 21 days agomessage-square18fedilink
minus-square299792458ms@lemmy.ziplinkfedilinkarrow-up0·21 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-up0·21 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-up0·20 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!