“Шортака” Ответ

Шорты раковины

CTRL+A # go to beginning of line
CTRL+B # moves backward one character
CTRL+C # stops the current command
CTRL+D # deletes one character backward or logs out of current session
CTRL+E # go to end of line
CTRL+F # moves forward one character
CTRL+G # aborts the current editing command and ring the terminal bell
CTRL+K # deletes (kill) forward to end of line
CTRL+L # clears screen and redisplay the line
CTRL+N # next line in command history
CTRL+R # searches in your command history
CTRL+T # transposes two characters
CTRL+U # kills backward to the beginning of line
CTRL+W # kills the word behind the cursor
CTRL+Y # retrieves last deleted string
CTRL+Z # stops the current command, resume with fg in the foreground or bg in the background
Bolaji Oyedele

Шортака

Bash shortcut – Navigation
Ctrl + a Go to the beginning of the line.
Ctrl + e Go to the end of the line.
Alt + f Move the cursor forward one word.
Alt + b Move the cursor back one word.
Ctrl + f Move the cursor forward one character.
Ctrl + b Move the cursor back one character.
Ctrl + x, x Toggle between the current cursor position and the beginning of the line.
 
David Cao

Бэш -клавишные ярлыки

# Add to your ~/.bashrc or ~/.bash_aliases the follow command:
bind '"\C-f": "\C-a YOUR_COMMAND \C-j"'

# Example: 
bind '"\C-f": "\C-a echo $(date) \C-j"'
# When you press `CTRL`+`F` will run YOUR_COMMAND.
Tiago F2

Бэш -клавишные ярлыки

## For BASH
# Add to your ~/.bashrc or ~/.bash_aliases the follow command:
bind '"\C-f": "\C-a YOUR_COMMAND \C-j"'

# Example: 
bind '"\C-f": "\C-a echo $(date) \C-j"' # CTRL+F run YOUR_COMMAND
####

## For ZSH
# Add to your ~/.zshrc the follow command:
bindkey -s "\C-f" "\C-a YOUR_COMMAND \C-j"

# Example: 
bindkey -s "\C-f" "\C-a date \C-j" # CTRL+F
Tiago F2

Ответы похожие на “Шортака”

Вопросы похожие на “Шортака”

Больше похожих ответов на “Шортака” по Shell/Bash

Смотреть популярные ответы по языку

Смотреть другие языки программирования