Mc
mc stands for Midnight Commander, which is a text-based file manager for Unix-like systems (Linux, BSD, etc.). It provides a visual interface in the terminal for managing files and directories, similar to Norton Commander on DOS.
Key Features of mc (Midnight Commander)
- Two-pane interface: Allows you to browse two directories simultaneously.
- File operations: Copy, move, delete, rename, and edit files easily.
- Built-in file viewer: Quickly view file contents without opening an external editor.
- Built-in text editor: Edit files directly in
mc. - Support for archives: Treats
.zip,.tar,.gz,.rar, etc., as virtual directories. - FTP/SFTP support: Access remote files via FTP or SFTP like local files.
- Search and filter: Quickly locate files or directories.
- Extensible: Can use external commands and scripts for automation.
How to Use mc
- Launching Midnight Commander
-
Basic Navigation
-
Use arrow keys to move between files and directories.
- Use Tab to switch between the left and right panes.
-
Press Enter to open a directory or file.
-
File Operations
-
F5: Copy selected files
- F6: Move/Rename files
- F7: Create a new directory
- F8: Delete selected files
- F3: View file
-
F4: Edit file
-
Searching Files
-
Press F9 → Command → Find File, or simply
Ctrl+s. -
Using Archives
-
Open
.zip,.tar,.gzfiles directly inmc. -
Treat archive contents as a normal directory.
-
Remote Access
-
Press F9 → Left/Right → FTP link to connect to remote servers.