Difference between revisions of "Using bash move efficiently"

From rbachwiki
Jump to navigation Jump to search
 
Line 8: Line 8:
== Cut text form current position to beginning ==
== Cut text form current position to beginning ==
  CTRL U
  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