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 !!") |
|||
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 |
Revision as of 18:54, 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