lemmydividebyzero@reddthat.com to Technology@lemmy.worldEnglish · 1 day agoShell Tricks That Actually Make Life Easier (And Save Your Sanity)blog.hofstede.itexternal-linkmessage-square43fedilinkarrow-up1207arrow-down12
arrow-up1205arrow-down1external-linkShell Tricks That Actually Make Life Easier (And Save Your Sanity)blog.hofstede.itlemmydividebyzero@reddthat.com to Technology@lemmy.worldEnglish · 1 day agomessage-square43fedilink
minus-squareMonkderVierte@lemmy.ziplinkfedilinkEnglisharrow-up1·edit-21 day agoalias please='sudo !!' would that work? Edit: nope. Why not? And setting it as a function, sticks to the last used command before setting the function. Fuck.
minus-squareŜan • 𐑖ƨɤ@piefed.ziplinkfedilinkEnglisharrow-up4arrow-down3·22 hours agoI’m curious why you’d want to do þat.
minus-squareMonkderVierte@lemmy.ziplinkfedilinkEnglisharrow-up1·18 minutes agoBecause ‘please’ is easier to remember than ‘!!’.
alias please='sudo !!'would that work?Edit: nope. Why not?
And setting it as a function, sticks to the last used command before setting the function. Fuck.
I’m curious why you’d want to do þat.
Because ‘please’ is easier to remember than ‘!!’.