Linux mc Command
The Linux mc command provides a menu-driven file management program.
After executing mc, you will see a menu-driven file management program divided into 4 parts.
Syntax
mc [-abcdfhkPstuUVx][-C <arguments>][-l <file>][-v <file>][directory]
Parameters:
-a Do not use graphic characters when drawing lines in the mc program.
-b Display in monochrome mode.
-c Display in color mode.
-C<arguments> Specify display colors.
-d Do not use the mouse.
-f Show the directory where the mc library is located.
-h Display help.
-k Reset softkeys to the default setting.
-l<file> Save the contents of the ftpfs dialog window in the specified file.
-P List the last working directory when the program ends.
-s Display in slow terminal mode, which reduces a lot of drawing and text display.
-t Use the TEMPCAP variable to set the terminal, instead of the default setting.
-u Do not use the current shell program.
-U Use the current shell program.
-v<file> Use the internal editor of mc to display the specified file.
-V Display version information.
-x Specify display in xterm mode.
Linux MC Related Operations
Command Key | Description |
---|---|
F9 or Esc+9 | Activate the menu bar |
Tab | Move between two windows |
F10 or Esc+0 | Exit MC |
Control-Enter or Alt-Enter | Copy the file name to the command line |
F1 or Esc+1 | Open the help page |
Although MC is very useful, I still recommend using command-line tools!