set -o vi
: Vi Modealias ALIAS="CONTENT"
: Set alias<C-p>
: Last command<C-n>
: Next command<C-f>
: Move cursor right<C-b>
: Move cursor leftCOMMAND; COMMAND
: Concatenate command- Short circuit execution
COMMAND || COMMAND
: If first one is true then second one is not executedCOMMAND && COMMAND
: If first one is false then second one is not executed
- Execute Script:
[bash] PATH
<
: Read stdin from file|
: Pipe stdout to stdin>
: Write stdout to file>>
: Append stdout to file
\n # Python: r'\n'
'\n' # Python: '\n'