Pages

Saturday, January 2, 2016

command prompt short keys

Home

Use short-keys on shell prompt to move to beginning of the line

Ctrl + a

Use short-keys on shell prompt to move to end of the line

Ctrl + a

Use short-keys on shell prompt to move the cursor “one word” backward

Esc + b
Alt + b

Use short-keys on shell prompt to move the cursor “one word” forward

Esc + f
Alt + f

Use short-keys on shell prompt to delete “last word”

Ctrl + w

Use short-keys on shell prompt to undo recently deleted “last word”

Ctrl + y

Use short-keys on shell prompt to move the cursor “one character” backward

Ctrl + b

Use short-keys on shell prompt to move the cursor “one character” forward

Ctrl + f

Use short-keys on shell prompt to delete “whole line”

Ctrl + u

Use short-keys on shell prompt to search the history backward

Ctrl + r

Use short-keys on shell prompt to search the history forward

Ctrl + s

Use short-keys on shell prompt to swap “two adjacent characters”

Ctrl + t

Use short-keys on shell prompt to swap “two adjacent words”

Esc + t
Alt + t

Use short-keys on shell prompt to convert characters next to cursor location in a word to uppercase

Esc + u
Alt + u

Use short-keys on shell prompt to convert characters next to cursor location in a word to lowercase

Esc + l
Alt + l

Use short-keys on shell prompt to capitalized a character in a word

Esc + c
Alt + c

Use short-keys on shell prompt to comment the current line (i.e. append # at the beginning quickly)

Esc + #
Alt + #

Use short-keys on shell prompt to delete “one character” to the left

Esc + h

Use short-keys on shell prompt to delete “one character” to the right

Esc + d

Use short-keys on shell prompt to comment the current line (i.e. append # at the beginning quickly)

Esc + #

Use short-keys on shell prompt to undo last action

Ctrl + u

Use short-keys on shell prompt to undo all changes to a line

Esc + r
Alt + r

Use short-keys on shell prompt to clear screen

Ctrl + l

Back To Top
Home

No comments:

Post a Comment