Command Substitution
|
Command |
Description |
|
|
Begin a history substitution. |
|
|
Previous command. |
|
|
Command number N in history list. |
|
|
N th command back from current command. |
|
|
Most recent command that starts with string. |
|
|
Most recent command that contains string. |
|
|
Most recent command argument that contains string. |
|
|
Last argument of previous command. |
|
|
Previous command, then append string. |
|
|
Command N, then append string. |
|
|
Most recent command starting with string s1, then append string s2. |
|
|
Quick substitution; change string old to new in previous command, and execute modified command. |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access