Linux mc command
The Linux mc command is used to provide a menu-based file management program.
After executing mc, you will see a menu-based file management program, divided into 4 parts.
Syntax
mc [-abcdfhkPstuUVx][-C <参数>][-l <文件>][-v <文件>][目录]
Parameters:
- -a When the mc program draws lines, it does not use drawing characters.
- -b Display in monochrome mode.
- -c Display in color mode.
- -C<parameter> 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 softkeys to the default settings.
- -l<file> Save the contents of the ftpfs dialog window to the specified file.
- -P List the last working directory when the program exits.
- -s Display in slow terminal mode; this mode reduces a large amount of drawing and text display.
- -t Use the TEMPCAP variable to set the terminal, instead of using presets.
- -u Do not use the current shell program.
- -U Use the current shell program.
- -v<file> Use mc's internal editor to display the specified file.
- -V Display version information.
- -x Specify to display in xterm mode.
Linux MC related operations
| Command keys | 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 | Can copy the file name to the command line |
| F1 or Esc+1 | Open the help page |
Although MC is very useful, I still recommend that everyone use command-line tools!
Other extensions
Linux Command Encyclopedia