Table E-11. Shell mode commands
Table E-11. Shell mode commands (Chapter 5)
| Keystrokes | Command name | Action |
|---|---|---|
| (none) | shell | Enter shell mode. |
| C-c C-c Signals → BREAK | comint-interrupt-subjob | Interrupt current job; equivalent to C-c. |
| C-c C-z Signals → STOP | comint-stop-subjob | Suspend or stop a job; C-z in Unix shells. |
| M-p In/Out → Previous Input | comint-previous-input | Retrieve previous commands (can be repeated to find earlier commands). |
| M-n In/Out → Next Input | comint-next-input | Retrieve subsequent commands (can be repeated to find more recent commands). |
| Enter | comint-send-input | Send input on current line. |
| Tab | comint-dynamic-complete | Complete current command, filename, or variable name. |
Table E-12. Dired commands
Table E-12. Dired commands (Chapter 5)
| Keystrokes | Command name | Action |
|---|---|---|
| C-x d File → Open Directory | dired | Start Dired. |
| C Operate → Copy to | dired-do-copy | Copy file. |
| d Mark → Flag | dired-flag-file-deletion | Flag for deletion. |
| D Operate → Delete | dired-do-delete | Query for immediate deletion. |
| f | dired-advertised-find-file | Find (so you can edit). |
| g Immediate → Refresh | revert-buffer | Reread the directory from disk. |
| m or * m Mark → Mark | dired-mark | Mark with *. |
| Q Operate → Query Replace in Files | dired-do-query-replace | Query replace string in marked files. |
| R Operate → Rename to | dired-do-rename | Rename file. |
| s | dired-sort-toggle-or-edit | Sort the Dired display by date or by filename (toggles between these). |
| t Mark → Toggle Marks | dired-toggle-marks | Toggle marks on files and directories; pressing t once marks all unmarked files and directories; pressing t again restores original marks. |
| u Mark → Unmark | dired-unmark | Remove mark. |
| + Immediate → Create Directory | dired-create-directory | Create a directory. |
| * ! or M-Del Mark → Unmark All | dired-unmark-all-files | Remove all marks from all files. |