Shell cheatsheet
The following may not apply to all shells.
| List jobs | jobs |
| Resume job after suspend | ctrl-q |
| Resume job in background | bg <%string> |
| Resume job in background | bg <job number> |
| Resume job in foreground | fg <%string> |
| Resume job in foreground | fg <job number> |
| Suspend delay (suspend at stdin) | ctrl-y |
| Suspend | ctrl-z |
| Recall history line 66 | !66 |
| Recall last command | !! |
| Recall last arguement from last command | !$ |
| Recall all arguements from last command | !* |
| Rename rpmnew files | find -type f -name "*.rpmnew" |\ |
| Search and replace files in place | find /path -name "*.*" -exec \ |
| vi cli editing | set -o vi Now <esc> enter command mode where vi keys
work. Pressing <enter> returns to normal mode. |
