Difference between revisions of "Using bash move efficiently"
Jump to navigation
Jump to search
(Created page with "== Forgot to type sudo in front of a command == sudo !!") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
== Forgot to type sudo in front of a command == | == Forgot to type sudo in front of a command == | ||
''' reruns the previous command with sudo ''' | |||
sudo !! | sudo !! | ||
== Cut text from current positon to the end == | |||
CTRL K | |||
CTRL Y # will undo cut | |||
== Cut text form current position to beginning == | |||
CTRL U | |||
== Reset Terminal == | |||
reset |
Latest revision as of 19:02, 27 February 2021
Forgot to type sudo in front of a command
reruns the previous command with sudo
sudo !!
Cut text from current positon to the end
CTRL K CTRL Y # will undo cut
Cut text form current position to beginning
CTRL U
Reset Terminal
reset