Midnight Commander
GNU Midnight Commander is a text-mode full-screen file manager with a two-panel interface, subshell support, internal editor, viewer, and Virtual Filesystem for remote and archive files.
Description
Midnight Commander provides a visual shell for Unix-like systems, enabling efficient file management in terminal environments. It features a dual-panel layout for simultaneous navigation of directories and a subshell for command execution. The internal editor offers syntax highlighting, while the viewer supports binary files.
Use cases include managing files on local systems, remote servers via FTP or SSH, and archives as if they were local directories thanks to the Virtual Filesystem (VFS). It is particularly useful in text-only environments or for users preferring keyboard-driven workflows.
The tool includes companion binaries like mcdiff for file comparison, mcedit for editing, and mcview for viewing files. Data files are provided in the separate mc-data package.
How It Works
Midnight Commander operates in text-mode using a full-screen two-panel interface. It integrates a subshell for command execution and Virtual Filesystem (VFS) support to handle remote protocols like FTP and SSH, as well as archives, treating them as local files. The internal editor uses syntax highlighting, and the viewer handles binary content. Subshell support can be toggled, and FTP dialogs can be logged.
Installation
sudo apt install mcFlags
Examples
mc -hmc -Vmc [this_dir] [other_panel_dir]mcdiff -hmcdiff file1 file2mcedit -hmcedit [+lineno] file1[:lineno]mcview -h