Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash shortcuts

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.
 
Comment

bash keyboard shortcuts

# 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.
Comment

bash keyboard shortcuts

## 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
Comment

PREVIOUS NEXT
Code Example
Shell :: boucle bash 
Shell :: win kex kali linux 
Shell :: copy all in a folder here command terminal 
Shell :: windows open port firewall cmd 
Shell :: adapta ubuntu 
Shell :: Install SSSM Agent on Amazon Linux 2 
Shell :: batch file extension 
Shell :: ssh passphrase stop prompting 
Shell :: count lines in bash script 
Shell :: what is curl 
Shell :: how to install mongodb in ubuntu 20.04 stackoverflow 
Shell :: cat ssh rsa 
Shell :: du command 
Shell :: powershell redirect output to null 
Shell :: linux permissions 
Shell :: github 
Shell :: bash grep all after match 
Shell :: remove branch local git 
Shell :: github merge 
Shell :: linux how to find files with broken link 
Shell :: windows terminal 
Shell :: remove java specific version linux 
Shell :: xampp apachae not starting 
Shell :: dbeaver password reveal 
Shell :: rmdir command 
Shell :: push an existing git repository 
Shell :: using locate search for the file 
Shell :: create branch git 
Shell :: linux user all permissions 
Shell :: mkdir -p shell 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =