User Tools

Site Tools

tools:bash:shortcuts-piping

Differences

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

Link to this comparison view

Next revision
Previous revision
tools:bash:shortcuts-piping [2024/05/19 21:47] – created - external edit 127.0.0.1tools:bash:shortcuts-piping [2025/09/30 22:44] (current) – external edit 127.0.0.1
Line 5: Line 5:
 ===== Copy and Paste ===== ===== Copy and Paste =====
  
-  * ''Ctrl+K'' (Cut text to end of line) +  * <kbd>Ctrl</kbd> <kbd>K</kbd> (Cut text to end of line) 
-  * ''Ctrl+U'' (Cut text to beginning of line) +  * <kbd>Ctrl</kbd> <kbd>U</kbd> (Cut text to beginning of line) 
-  * ''Ctrl+W'' (Cut word located behind cursor) +  * <kbd>Ctrl</kbd> <kbd>W</kbd> (Cut word located behind cursor) 
-  * ''Alt+D'' (Cut word following cursor) +  * <kbd>Alt</kbd> <kbd>D</kbd> (Cut word following cursor) 
-  * ''Ctrl+Y'' (Paste most recently cut text) +  * <kbd>Ctrl</kbd> <kbd>Y</kbd> (Paste most recently cut text) 
-  * ''Alt+Y'' (Rotate back to previously cut text and paste it)+  * <kbd>Alt</kbd> <kbd>Y</kbd> (Rotate back to previously cut text and paste it) 
  
 ===== Command Line Editing ===== ===== Command Line Editing =====
  
-  * ''Up Arrow'' (Previous Command) +  * <kbd>Up Arrow</kbd> (Previous Command) 
-  * ''Alt+F'' (Word Forward) +  * <kbd>Alt</kbd> <kbd>F</kbd> (Word Forward) 
-  * ''Alt+B'' (Word Backward) +  * <kbd>Alt</kbd> <kbd>B</kbd> (Word Backward) 
-  * ''Ctrl+A'' (Beginning of Line) +  * <kbd>Ctrl</kbd> <kbd>A</kbd> (Beginning of Line) 
-  * ''Ctrl+E'' (End of Line) +  * <kbd>Ctrl</kbd> <kbd>E</kbd> (End of Line) 
-  * ''Ctrl+L'' (Clear Screen) +  * <kbd>Ctrl</kbd> <kbd>L</kbd> (Clear Screen) 
-  * ''Alt+T'' (Transpose Words) +  * <kbd>Alt</kbd> <kbd>T</kbd> (Transpose Words) 
-  * ''Alt+U'' (Transform Uppercase) +  * <kbd>Alt</kbd> <kbd>U</kbd> (Transform Uppercase) 
-  * ''Alt+L'' (Transform Lowercase) +  * <kbd>Alt</kbd> <kbd>L</kbd> (Transform Lowercase) 
-  * ''Alt+C'' (Transform Capitalize) +  * <kbd>Alt</kbd> <kbd>C</kbd> (Transform Capitalize) 
-  * ''Ctrl+V'' (Insert Special Character) +  * <kbd>Ctrl</kbd> <kbd>V</kbd> (Insert Special Character) 
-  * ''Ctrl+C'' (Delete entire line)+  * <kbd>Ctrl</kbd> <kbd>C</kbd> (Delete entire line) 
  
 ===== Command Completion ===== ===== Command Completion =====
Line 44: Line 46:
  
   $ fc xxx   $ fc xxx
 +
 +
 +===== Metacharacters =====
 +
 +  * ''?'' (Matches any one character)
 +  * ''''* (Matches any number of characters)
 +  * ''<'' (Directs contents of file to a command)
 +  * ''>'' (Directs command output to a file)
 +  * ''2>'' (Directs error from command to a file)
 +  * ''&>'' (Directs command output and errors to a file)
 +  * ''>>'' (Directs output to file, appending it to the end of file)
 +  * ''|'' (Pipes output of previous command to input of next command)
 +  * '';'' (Sequentially executes next command)
 +  * ''&'' (Runs command in background)
 +  * ''$'' (For expanding variables, substitutions, and expressions)
 +  * ''$( )'' (Command substitutions)
 +  * ''$[ ]'' (Arithmetic expressions)
 +
  
 ===== Working With Multiple Commands At Once ===== ===== Working With Multiple Commands At Once =====
Line 75: Line 95:
   $ echo "$[2000 - 1500]"   $ echo "$[2000 - 1500]"
  
-===== Metacharacters ===== 
  
-  * ''?'' (Matches any one character) + 
-  * ''''* (Matches any number of characters) +{{wst>cli}} 
-  * ''<'' (Directs contents of file to a command) +
-  * ''>'' (Directs command output to a file) +
-  * ''2>'' (Directs error from command to a file) +
-  * ''&>'' (Directs command output and errors to a file) +
-  * ''>>'' (Directs output to file, appending it to the end of file) +
-  * ''|'' (Pipes output of previous command to input of next command) +
-  * '';'' (Sequentially executes next command) +
-  * ''&'' (Runs command in background) +
-  * ''$'' (For expanding variables, substitutions, and expressions) +
-  * ''$( )'' (Command substitutions) +
-  * ''$[ ]'' (Arithmetic expressions)+
tools/bash/shortcuts-piping.1716155256.txt.gz · Last modified: (external edit)

Find this page online at: https://bestpoint.institute/tools/bash/shortcuts-piping