Pre-requisites:
A system with CentOS Stream 9 installed and running
Access to a terminal or command line
Root or sudo privileges
Midnight Commander is a Text User Interface (TUI) visual file manager tool that helps you with file management tasks on the Linux terminal. You can use your mouse to interact with Midnight Commander instead of keyboard shortcuts.
First update your system
dnf update -y
To install mc, use your package manager:
dnf install mc
Launch mc from a terminal:
mc
To switch from the right pane to the left pane, or vice versa, press TAB.
Arrows: Use up and down to select, left to go back, and right to change to the selected directory.
Function keys: All the most important functions are listed at the bottom of your terminal window. Each function is assigned to a function key (F1 to F10.)
Midnight Commander comes with multiple skins by default. You can set the skin in Options > Appearance.
By default, Midnight Commander uses a blue background color. To turn off color:
mc --nocolor
To invoke the directory hotlist
ctrl + backslash key
Once in the hotlist menu, you can select the option to add the current directory to add your current location to the hotlist.
Close Midnight Commander by pressing F10.
For more information: