Midnight Commander Has a Text Based User Interface & Can Be Used on All OS. Here is How To Install Command Line File Manager on Ubuntu Server. Midnight Commander is available for OS X, all GNU/Linux, unix and Microsoft Windows OS. For SSH, to view the files; it can be comfortable for the new users. Midnight Commander is licensed with GNU GPL Free Software License. For OS X and GNU/Linux Desktop users – you can install on local computer and SSH via that local computer installation too. We are describing installation on server.
Before Proceeding to Install Command Line File Manager on Ubuntu Server
You must not play with a production server. Take a server snapshot in case you are using OpenStack. May be you can install on local computer first. With Homebrew package manager on OS X, it is very easy to install, simply run the command – brew install mc
. First test by running this command – mc
. mc
should evoke the application. If not, then you need to perform some more steps :
You might need to add these on .bashrc
or .bash_profile
depending on your setup, correct the version number :
---
1 | alias mc = "/usr/local/Cellar/midnight-commander/4.8.11/libexec/mc/mc-wrapper.sh" |
then source it :
1 | source .bash_profile |
mc
should evoke the application.
get text, libffi, glib are the dependencies of Midnight Commander.
Install Command Line File Manager on Ubuntu Server
There is a PPA for Ubuntu / Deb GNU/Linux, you can add it and install :
1 2 | sudo add-apt-repository ppa:eugenesan/ppa apt-get update -y && apt-get install mc |
It is quite easy to use, the configuration file is located at ~/.config/mc/ini
, you can adjust these settings :
1 2 3 4 5 6 7 8 9 10 11 12 | [Midnight-Commander] ... editor_visible_tabs=0 editor_visible_spaces=1 ... auto_save_setup=1 ... confirm_delete=1 confirm_overwrite=1 ... navigate_with_arrows=1 ... |
You will get used after few minutes of usage. Just like OS X, mc
command evokes the application. There are other file explorers which offers text based interface, but this Midnight Commander mostly known. These are development of the mid nineties like many beautiful command line softwares.