Section 4 - Command Line prompt:
Using midnight commander does not take away the command line from poweruser. You can start typing an Unix command anytime and press enter to execute it. Command line prompt is locatedtowards the bottom of the screen.
3. Basic keyboard shortcuts
Most of the mc keyboard shortcuts fall in one of the following category:
Press Control key and a character key at the same time. For e.g.
to swap left and right panels.
Press Alt key and a character key at the same time. For Alt key commands, you can also press ESCkey, release it and press the character key.
Press Shit key and a character key at the same time.
Press Control key and a character key at the same time, release it and press another characterkey again. For e.g.
to compare directories.Following are some basic keyboard operation
To switch from one panel to another.
Change the panel display options. i.e Switch from a dual panel display to a single panel display.
Search for a file.Use up-arrow, down-arrow, page-up, page-down, home and end keys to browse the directory content.
4.Sample mc usage scenarios
Copy multiple files together using ‘Insert’ and F5:
Highlight a file and press ‘Insert’ key to tag the file forgroup selection. Repeat this process for multiple files that you wish to copy. Selected files will be displayed in adifferent color. Pressing F5 will display the following copy dialog screen, defaulting the destination directorylocation to the directory displayed in the other panel
Display additional file information:
To display additional file attributes in the directory panels, press F9 ->Left or Right -> Listing Mode, and select “Full File List”
View the content of any compressed file using F3
: Select the file and press F3 to view the content of the file.For e.g. Select a rpm file and press F3, to view the content of the rpm file.
Toggle between command line and mc using C-o:
(Control key followed by o) to toggle betweenfull command-line and mc user interface.
Confirm file operations:
To avoid mistakes, enable confirmation for copy, delete, overwrite and executefunctions. Press F9 -> Options -> Confirmations, which will display the following screen.
5. References and additional screenshots
Additional screenshots of GNU Midnight Commander running both in a terminal and with the GNOME GUI.