Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
77pt77
· 2y ago · 0 comments
!! is the previous command line BTW
useful shorthand
> sudo !!
for example.
Again, bash specific.
Comments
[–]
taskforcegemini
2y ago
my preference for this example is "arrow-up, ctrl+a sudo" but will not work inside "screen" out of the box of course
[–]
emmelaich
2y ago
!!, !$ etc are old and supported by zsh as well.