Ten-character #Linux or #Unix command? Pshaw! Real Linux and Unix wizards summon their magic spells by mashing the up arrow a thousand times. It's the ancient ritual of command-line mastery. Lmao.
Conversation
Notices
-
nixCraft 🐧 (nixcraft@mastodon.social)'s status on Sunday, 30-Jun-2024 20:18:32 JST nixCraft 🐧 -
nixCraft 🐧 (nixcraft@mastodon.social)'s status on Sunday, 30-Jun-2024 20:24:53 JST nixCraft 🐧 From https://www.commitstrip.com/en/2017/02/28/definitely-not-lazy/?
-
Hylke 🍵 (hbons@mastodon.social)'s status on Sunday, 30-Jun-2024 20:37:24 JST Hylke 🍵 @nixCraft sunk cost fallacy in action. 😅
-
saegor (saegor@mastodon.social)'s status on Sunday, 30-Jun-2024 21:48:17 JST saegor echo "alias l=ls" >> .bash_aliases && source .bashrc
BOOM ! +100℅ efficiency !
-
Jeff Hobbs (jeffehobbs@mastodon.social)'s status on Sunday, 30-Jun-2024 21:48:53 JST Jeff Hobbs @nixCraft the typo makes it
-
Sam Duede (samduede@mastodon.social)'s status on Sunday, 30-Jun-2024 22:32:56 JST Sam Duede @nixCraft pressing the up arrow 999 times then Ctrl-r
-
Richard Creamer 🎸📷 🎣🥾🔭🎵 (rcreamer@mastodon.social)'s status on Sunday, 30-Jun-2024 22:42:12 JST Richard Creamer 🎸📷 🎣🥾🔭🎵 @nixCraft it's been a long time since I used a shell, but I seem to recall that !<1+ cmd letters> will bring up the most recent command starting with the string pattern you typed>. Eg !l would bring up the last ls command.
-
Old Man in the Shoe (jenzi@mastodon.social)'s status on Sunday, 30-Jun-2024 23:37:55 JST Old Man in the Shoe @nixCraft laughs in ZSH
-
LacyGreenfelder (lacygreenfelder@mastodon.social)'s status on Monday, 01-Jul-2024 00:37:07 JST LacyGreenfelder @nixCraft Or just use CTRL+r and use the fzf command search feature in zsh. Best thing I discovered so far using the terminal
-
🇺🇸 🇺🇦 🇮🇱 🐧 🥦 (methylcobalamin@mastodon.social)'s status on Monday, 01-Jul-2024 01:04:07 JST 🇺🇸 🇺🇦 🇮🇱 🐧 🥦 Guilty as charged.
-
expiredtoken (expiredtoken@mastodon.social)'s status on Monday, 01-Jul-2024 01:05:30 JST expiredtoken @nixCraft Again a faux CLI hacker. This avoids retyping the command, and it still works if the command is not in the history:
$((history | grep --only-matching ls || echo ls) | head --lines 1) 😅
-