User avatar
pixelheart_transpixelheart_nonbinary flori_ava_star:~cursor_blinkingCeleste_transbian @star@amazonawaws.com
4d
man i have been using Linux for weeeell over a decade now and I only learned *today* that !! is a shell expansion for the last command you executed?? That means you can
$: some-command --which-is-very-long --and-moving-the-cursor-to-the-beginning-might-be-a-hassle
ERROR: command requires root privileges
$: sudo !!
INFO: yay success :3


that's so fucking handy
neobot_aww
:drgn_heart@not.an.evilcyberhacker.net:1:drippy_heart_purple_outline@irlqt.net:1:neobot_heart_cyan@thegayagenda.fans:1:neobot_pat@kittyy.mom:1:neocat_heart_f@transfem.social:1❤️7
20
30
55
12
User avatar
amy neobot_flag_transbianneobot_flag_polyam @thing@thegayagenda.fans
4d
@star you can also just..press [UP] neobot_woozy
also, another neat (bash) trick is that you can use [CTRL]+[R] to search in your history for a command
2
0
1
0
User avatar
pixelheart_transpixelheart_nonbinary flori_ava_star:~cursor_blinkingCeleste_transbian @star@amazonawaws.com
4d
@thing What I described in the post is not possible by just pressing "up"
:neobot_woozy@thegayagenda.fans:1
1
0
0
1

User avatar
amy neobot_flag_transbianneobot_flag_polyam @thing@thegayagenda.fans
4d
@star no i meant
[UP]
[CTRL]+[A]
(type the cmd prefix)
0
0
0
0