Linux mc Command
The Linux mc command provides a menu-based file management program.
After running mc, you will see a menu-based file manager divided into 4 sections.
Syntax
mc [-abcdfhkPstuUVx][-C <参数>][-l <文件>][-v <文件>][目录]
Parameters:
- -a When the mc program draws lines, do not use graphics characters.
- -b Display in monochrome mode.
- -c Display in color mode.
- -C
Specify the display color. - -d Do not use the mouse.
- -f Display the directory where the mc function library is located.
- -h Display help.
- -k Reset the softkeys to their preset values.
- -l
Save the contents of the ftpfs dialog window to the specified file. - -P When the program ends, list the last working directory.
- -s Display in slow terminal mode, which reduces a large amount of graphics and text output.
- -t Use the TEMPCAP variable to set up the terminal instead of using presets.
- -u Do not use the current shell program.
- -U Use the current shell program.
- -v
Use mc's internal editor to display the specified file. - -V Display version information.
- -x Display in xterm mode.
Linux MC Related Operations
| Command Keys | Description |
|---|---|
| F9 or Esc+9 | Activate the menu bar |
| Tab | Move between the two windows |
| F10 or Esc+0 | Exit MC |
| Control-Enter or Alt-Enter | Copy the filename to the command line |
| F1 or Esc+1 | Open the help page |
Although MC is handy, I still recommend using command-line tools!
Linux Command Reference