Welcome to the IPFire Wiki

This wiki is a community-maintained resource about everything there is to know about IPFire. Join us and help us improving it!

Looking for something?

Use the search and find answers to everything about IPFire. If you cannot find what you are looking for, join our community and talk to fellow IPFire users, developers and everybody else involved in the project.

IPFire Community

mc

Midnight Commander (MC) is similar to the venerable Norton Commander (DOS) and is one of the most famous shell programs for Linux. This program offers the ability to manage files in a more intuitive way, especially for people more familiar with GUI file management tools.

Installation

Midnight Commander can be installed using the Pakfire section of the web interface or with the shell command:

pakfire install -y mc

Usage

There is no web interface for this Addon. To run this Addon open the client console or terminal and access the IPFire box via SSH.


mc

Midnight Commander visual shell. To obtain a list of possible options:

mc -h

The output is similar to this:

[root@ipfire ~]# mc -h
Usage:
  mc [OPTION…] [this_dir] [other_panel_dir]

GNU Midnight Commander 4.8.22

Help Options:
-h, --help                Show help options
--help-all                Show all help options
--help-terminal           Terminal options
--help-color              Color options

Application Options:
-V, --version             Displays the current version
-f, --datadir             Print data directory
-F, --datadir-info        Print extended info about used data directories
--configure-options       Print configure options
-P, --printwd=<file>      Print last working directory to specified file
-U, --subshell            Enables subshell support (default)
-u, --nosubshell          Disables subshell support
-l, --ftplog=<file>       Log ftp dialog to specified file
-v, --view=<file>         Launches the file viewer on a file
-e, --edit=<file> ...     Edit files

To start MC use the following command:
mc


mcedit

File editor of Midnight Commander.

To obtain a list of possible options:

mcedit -h

The output is similar to this:

[root@ipfire ~]# mcedit -h
Usage:
  mcedit [OPTION…] [+lineno] file1[:lineno] [file2[:lineno]...]

GNU Midnight Commander 4.8.22

Help Options:
-h, --help                Show help options
--help-all                Show all help options
--help-terminal           Terminal options
--help-color              Color options

Application Options:
-V, --version             Displays the current version
-f, --datadir             Print data directory
-F, --datadir-info        Print extended info about used data directories
--configure-options       Print configure options
-P, --printwd=<file>      Print last working directory to specified file
-U, --subshell            Enables subshell support (default)
-u, --nosubshell          Disables subshell support
-l, --ftplog=<file>       Log ftp dialog to specified file
-v, --view=<file>         Launches the file viewer on a file
-e, --edit=<file> ...     Edit files

To start mcedit use the following command:
mcedit

You can find more information about MC at:
* this location
* Midnight Commander - Draft of documentation
* Midnight Commander

Edit Page ‐ Yes, you can edit!

Older Revisions • August 22 at 10:52 pm • Jon