File Managers

Midnight Commander – feature rich full-screen text mode file manager

Midnight Commander is a powerful text-mode file manager and visual shell that provides a convenient way to manage files and directories without leaving the terminal.

Its interface follows the classic orthodox file manager design, with two directory panels displayed side by side. Users can navigate directories, select files, and perform common operations using keyboard shortcuts, function keys, or a mouse.

The program works on a Linux console, in terminal emulators, and across remote SSH sessions. It combines traditional file management with direct access to the command line, making it particularly useful for system administration and working on remote machines.

Midnight Commander also includes integrated tools for viewing, editing, and comparing files, together with a virtual filesystem that extends file management beyond ordinary local directories.

This is free and open source software.

Key Features

  • Dual-pane interface for copying, moving, renaming, deleting, and organising files and directories.
  • Virtual filesystem – browse remote directories using FTP, SFTP, and shell connections, and access archives including tar, zip, rpm, cpio, and rar.
  • Perform file operations within supported virtual filesystems, including accessing archives stored on remote servers.
  • Built-in mcedit text editor with syntax highlighting, search and replace, and support for external formatting and spell-checking tools.
  • Integrated mcview file viewer with text and hexadecimal display modes.
  • Built-in mcdiff utility for comparing files and examining differences.
  • Inspect torrent files using the integrated torrent viewer and virtual filesystem.
  • Search for files by name or content, with support for filtering and selecting files using patterns.
  • Execute shell commands through an integrated subshell, with command history and filename completion.
  • Run file copying and moving operations in the background while continuing other work.
  • Directory hotlist for quick access to frequently visited local and remote locations.
  • External panelisation – display the output of external commands as file listings that can be manipulated like ordinary directories.
  • Context-sensitive actions for opening, viewing, and editing files according to their types.
  • Customisable keyboard shortcuts, user menus, colour schemes, and terminal key definitions.
  • Optional mouse support in compatible terminal environments.
  • Recover deleted files from ext2 filesystems using the optional undelete virtual filesystem.
  • Support for Unicode, UTF-8 locales, and multiple interface languages.
  • Cross-platform support – runs on Linux, macOS, FreeBSD, and OpenBSD.

Website: midnight-commander.org
Support:
Developer: Miguel de Icaza and many contributors
License: GNU General Public License v3.0

Midnight Commander
Click for full size image

Midnight Commander is written in C. Learn C with our recommended free books and free tutorials.


Related Software

Orthodox File Managers
KrusaderAdvanced twin panel (commander style) file manager for KDE
Midnight CommanderUser-friendly yet powerful text-mode file manager and visual shell
Double CommanderInspired by Total Commander
RangerFile manager with an ncurses frontend written in Python
GNOME CommanderBuilt on the GTK-toolkit and GnomeVFS
XfeVery similar to Windows Explorer but with twin panes
muCommanderLightweight, cross-platform file manager
far2lAR Manager fork bringing panels, plugins and archives to Linux
VifmVim-style two-pane navigator with modal keyboard control
File CommanderTotal Commander-like orthodox file manager
SunflowerSmall and highly customizable twin-panel file manager
trolCommanderFork of muCommander
FileRunnerSimple and efficient file manager written in Tcl
F2 CommanderLean text-mode commander for browsing and batch operations
Tux CommanderUses the old GTK2 windowing toolkit
Midday CommanderDual-pane console navigator with Midnight Commander-style flow
WorkerIn the style of the Amiga's DirOpus
WaydirWayland-native desktop browser focused on speed and simplicity
WCMCommanderMimicking the look-n-feel of Far Manager
gentooTwo-pane file manager
emelFM2Orthodox file manager using GTK+ 2

Read our verdict in the software roundup.

Console File Managers
nnnFast and flexible file manager
Midnight CommanderUser-friendly yet powerful orthodox file manager
superfileVery fancy and modern terminal file manager
RangerFile manager with an ncurses frontend written in Python
lfTerminal file manager heavily inspired by ranger
YaziFile manager with asynchronous support
CliFMShell-like, command line terminal file manager
joshutoRanger-like file manager
far2lLinux fork of FAR Manager v2
Vifmncurses based file manager with vi like keybindings
fmDouble pane file manager written in Go
elioFast file browsing with rich previews in three panes
felixTUI file manager with Vim-like key mapping
fmanUses Bubbletea, Lipgloss, Bubblezone, stickers, Chroma, and go-arg
FCDContinuation of rnr
Rat CommanderTwo-panel file manager with built-in editing and remote access
projectableTUI file manager built for projects
Last File Manager1 or 2 pane Python based file manager
F2 CommanderAn orthodox file manager with Vim-like controls and previews
Midday CommanderKeyboard-driven dual-panel file manager with archive browsing
WCM CommanderA Far Manager clone
TUIFI ManagerTermux-oriented file manager
runaMinimalist terminal file browser with configurable keybindings
sffSimple file finder
ZetaDual-pane file manager with an embedded terminal and Git tools
jafffJust another f* fast file manager
gofulAnother file manager written in Go

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
2 Comments
Oldest
Newest Most Voted
Erik Lundmark
Erik Lundmark
7 years ago

I’ve totally switched from a gui file-manager to Midnight Commander. Very intuitive and easy to learn, though transferring all my userscripts took a while due to its own internal syntax. But once that was done, its hard to imagine ever using anything else. Combine with sxiv in thumnail-mode and you have everything you need.

Harry Tyler
Harry Tyler
7 years ago

It’s heartening how many GUI apps can be replaced with better CLI alternatives. I spend most of my day in the terminal, there are only a few GUI apps I use with any regularity.