Do More, Faster In The Linux Terminal With Midnight Commander

Ads by Google

File browsing in a Linux terminal is alright, but it could be so much better. Midnight Commander is the program you’re looking for –  it gives you a two-paned file browser that makes working in the terminal so much easier. And the best part? It’s simple to get and use.

Getting Midnight Commander

To install Midnight Commander, all you need to do is to check your respective package manager. You might have to use different search terms to find it, such as “midnight commander”, “midnight”, or “mc”, but it’s a common application should all distributions should offer it. Once you’ve found it, install it, and you’ll be ready to go. You can launch it by opening the terminal and issuing the command “mc” (without the quotes).

First Impressions

Midnight Commander may look familiar to those who used DOS back in the day, thanks to its color scheme of blue, white, and yellow. However, don’t be afraid – you still get the full power of a Linux terminal, but using Midnight Commander just makes it far easier to visualize what files you have and how the folders are structured.


The most important feature is the two panes which you can use for file browsing. This is already more useful than the traditional terminal method of file browsing (cd, ls, etc) because you can have two locations pulled up at the same time in one window. This ultimately also makes other features such as copy and pasting much easier. You can switch between the two panes by using the Tab key.

Additional Features

Below the two panes, you’ll see a little bit of purple (or whatever your default terminal background color is set to be) where you’ll see a tip – teaching you how to get more out of Midnight Commander. You’ll also see a command prompt. This is included in Midnight Commander so that you can still run terminal commands while doing your file browsing, which is simply awesome. And it works very well too – you can run a cd command, and Midnight Commander will reflect the change in the currently active pane. If you want to run commands in the second pane’s location, just tab over and fire away.

For more functionality, you’ll see several actions along the very bottom of the terminal you can run, with numbers along with them. You can run these functions using your F keys, so if the function has a 3 next to it (like “View” has in the above screenshot), you’ll need to press your F3 key. You’ll find functions here such as Help, Menu, View, Edit, Copy, RenMov, Mkdir, Delete, PullDn, and Quit. Of course, if these aren’t enough, you can also use commands. If you need to brush up on your Linux commands, check out this great summary by Joel.

Ads by Google

Along the very top, you’ll find a few menus to control the left and right panes, as well as File, Command, and Options menus that give you plenty more (less commonly accessed) functions. However, all of these allow you to use less commands to make your life easier.

Oh, and another great thing about Midnight Commander is the fact that you can use your mouse in the terminal. This may make life easier for some, but isn’t mandatory by any means – which is how things should be.


Don’t like how Midnight Commander looks or behaves? You can go into various configuration options by choosing the Options menu from the top menu bar. Then, simply configure to your heart’s desire – collectively there are a surprising amount of things you can edit.


Overall, I really like Midnight Commander. It is extremely powerful as it combines both itself and the command prompt, yet the interface makes it so that even terminal beginners can feel a bit more comfortable using the terminal. If you haven’t tried using it yet, I’d definitely recommend that you take a look. Otherwise, if you still prefer full-on graphical file browsers, take a look at Nautilus, Dolphin, and Thunar.

Need more great Linux software? Check out our Best Linux Software page!

What tricks do you have for your terminal? What’s a great tip not many people know about using the terminal? Let us know in the comments!

Join live MakeUseOf Groups on Grouvi App Join live Groups on Grouvi
Linux Tips & Issues
Linux Tips & Issues
420 Members
Linux for Beginners
Linux for Beginners
360 Members
Affiliate Disclamer

This article may contain affiliate links, which pays us a small compensation if you do decide to make a purchase based on our recommendation. Our judgement is in no way biased, and our recommendations are always based on the merits of the items.

For more details, please read our disclosure.
New comment

Please login to avoid entering captcha

Log In