Midnight Commander Cheat Sheet

Midnight Commander is still my favourite Linux file browser and bulk file manipulation utility. The legacy of Norton Commander will never be forgotten!

Mac Home & End not working

https://stackoverflow.com/questions/161676/home-end-keys-in-zsh-dont-work-with-putty

https://superuser.com/questions/10716/how-to-make-home-or-end-keys-work-in-mc-running-on-os-x-ssh

How to show file sizes in human readable format

F9 / Left or Right / Listing format… / User defined:

Now simply add :4 to size, so that it’s size:4

Bob’s your uncle.

Reference: https://superuser.com/questions/1570436/how-to-show-file-sizes-in-midnight-commander-in-the-most-compact-form-smart-f

How to compress selected files

  1. Select them
  2. Press F2
  3. Press the ‘@’ sign
  4. Use this command:
7z a ARCHIVE_NAME.7z %s

What extra packages does Midnight Commander like?

If you want your Midnight Commander to have the maximum amount of functionality, installed these optional packages.

The pipe | links mean either|or so pick one that you prefer.

This is from 2019

arj catdvi | texlive-binaries dbview djvulibre-bin genisoimage gv libaspell-dev links | w3m | lynx odt2txt poppler-utils python-boto python-tz xpdf | pdf-viewer

Share this article

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top