Do More, Faster In The Linux Terminal With Midnight Commander

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 main   Do More, Faster In The Linux Terminal With Midnight Commander
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.

Navigation

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.

midnight commander top menu   Do More, Faster In The Linux Terminal With Midnight Commander
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.

Settings

midnight commander configuration   Do More, Faster In The Linux Terminal With Midnight Commander
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.

Conclusion

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!

7 Comments - Write a Comment

0 votes
Reply

Zhong J

Can someone remind me: what’s the default linux terminal in Debian and does it suffice at performing tasks?

0 votes

Danny S

It should be the regular Gnome Terminal, so yes. If you mean the shell, I think it uses bash.

0 votes
Reply

George Hilbert

It looks exactly like Norton Commander for DOS, even down to the settings menus and other drop-downs.

0 votes

Peter Hood

It reminds me of Xtree Pro Gold, which I used for migrating files from old to new PCs, and a lot more besides. Also PC Tools for DOS. Norton Commander was just one star in the firmament.

0 votes
Reply

Vineed G

must have utility on linux

0 votes
Reply

Schvenn M

To this day, I cannot function at full efficiency on Windows without Total Commander.

0 votes
Reply

peter

I love it. Heading to my Linux Mint installation. Thanks.

Your comment