Manage Files With Midnight Commander

Use a classic two-panel TUI for copying, moving and editing files.

LinuxFilesTerminalcliLow risk
Run mc to open Midnight Commander; use Tab to switch panels and F-keys for actions.

01Command

Command
$ mc

02What it does

Midnight Commander is a long-standing text file manager with two panels, a built-in editor, viewer and archive support. Function keys map to copy, move, delete and mkdir, and it can open remote filesystems over SFTP or SMB.

03Risk

RiskLow risk
Requirementssudo apt install mc
!Warning: Delete moves files to a trash-like menu only if configured; otherwise F8 removes them permanently.

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

  • Midnight Commander
    Midnight Commander · vendor-doc · 2026-09-20
    Evidence: Official site documenting panels, editor and viewer.
  • Debian package: mc
    Debian · vendor-doc · 2026-09-20
    Evidence: Installs Midnight Commander, a full-featured two-pane text file manager.

Last verified: 2026-09-20 · Category: Files & Folders

06Related solutions