development:bash_shortcuts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
development:bash_shortcuts [2022/02/21 10:00] – created azizdevelopment:bash_shortcuts [2022/06/15 14:39] (current) aziz
Line 1: Line 1:
-^ Shortcut                                         ^ Command                                 +{{tag>bash shortcuts}} 
-| ''Ctrl'' + ''a''                                 | Go to the beginning of line.            +====== Bash shortcuts ====== 
-| ''Ctrl'' + ''e''                                 | Go to the end of line.                  + 
-| ''Ctrl'' + ''_''                                 | Undo                                    +^ Shortcut  ^ Command  
-| '':up:'' or ''Ctrl'' + ''p''                     | Previous command                        +| ''Ctrl'' + ''a''  | Go to the beginning of line.  
-| ''Ctrl'' + ''r''                                 | Search previous command                 +| ''Ctrl'' + ''e''  | Go to the end of line.  
-| ''Ctrl'' + ''x'', ''Ctrl'' + ''e''               | Open editor to edit the current command | +| ''Ctrl'' + ''_''  | Undo  
-| ''Ctrl'' + ''k''                                 | Cut from cursor to end of line          +| '':up:'' or ''Ctrl'' + ''p''  | Previous command  
-| ''Ctrl'' + ''u''                                 | Cut from cursor to beginning of line    +| ''Ctrl'' + ''r''  | Search previous command  
-| ''Ctrl'' + ''y''                                 | Paste                                   |+| ''Ctrl'' + ''x'', ''Ctrl'' + ''e''  | Open editor to edit the current command | 
 +| ''Ctrl'' + ''k''  | Cut from cursor to end of line  
 +| ''Ctrl'' + ''u''  | Cut from cursor to beginning of line  
 +| ''Ctrl'' + ''y''  | Paste  | 
 + 
 +====== Bash aliases ====== 
 + 
 +^ Shortcut  ^ Command 
 +| ll  | long listing 
 +| la  | long listing, inclunding hidden files  | 
 +| dcu  | start containers. must be in a dir with a docker-compose.yml file  | 
 +| dcd  | stop containers. must be in a dir with a docker-compose.yml file  | 
 +| ta  | tmux attach 
 +| gis  | git status 
 +| git  | git log  | 
 +| git  | git log  | 
  
 See: See:
  
   * [[https://blog.ssdnodes.com/blog/cheatsheet-bash-shortcuts/|Bash Cheatsheet]]   * [[https://blog.ssdnodes.com/blog/cheatsheet-bash-shortcuts/|Bash Cheatsheet]]
-  * <code>bind -P | grep "can be found" | sort | awk '{printf "%-40s", $1} {for(i=6;i<=NF;i++){printf "%s ", $i}{printf"\n"}}'</code>+  * <code -> 
 +bind -P | grep "can be found" | sort | awk '{printf "%-40s", $1} {for(i=6;i<=NF;i++){printf "%s ", $i}{printf"\n"}}' 
 +</code> 
 +  * <code -> 
 +man bash 
 +</code>
  
  
  • development/bash_shortcuts.1645437630.txt.gz
  • Last modified: 2022/02/21 10:00
  • by aziz