Centos 6/RHEL install Midnight Commander console file manager

Midnight Commander is an old style console file manager which is easy to install and use on Centos 6/RHEL. It can be very useful in certain situations, such as when the cp command refuses to overwrite a file or folder because it 'exists', enabling you to get some things done which you couldn't accomplish with cp, mv or rm. It can be used both locally and remotely and in a console or under X Window System. You can compile from source or just use the repo version as below.

To obtain it from the standard repo, just issue the command

$ sudo yum -y install mc

Fire it up either in the console or terminal emulator with

$ mc

It opens up with 2 panes for you to navigate between, starting in whichever directory you happen to be in.

Some basic commands for mc are listed below to get started.

Tab  --  Change between panels

Arrows Up/Down --  Scroll up and down

Arrows Left/Right -- Go to parent directory

F5 -- Copy

F6 -- Move or Rename

F9 -- Access the menu bar at the top

F10 -- Quit

A list of the F key functions is laid out at the bottom.

$ man mc                     for more info, flags etc.

Check out  https://www.gnu.org/software/mc/ for more.

Midnight Commander is a handy little tool, along with Elinks Text Browser for accomplishing certain jobs in Linux.

Labels: , ,