• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install Midnight Commander in Linux

{{postValue.id}}

To install Midnight Commander in Linux

A Console Based File Manager in Linux is called Midnight Commander. This File Manager will help you to speed up the activities in the files. Midnight Commander is a free visual file manager software. It allows you to move, copy and delete files, it searches for files and execute scripts in the subshell. Installation of Midnight Commander in Linux is explained in this article.


To Install Midnight Commander

Execute the following command, to install Midnight commander.

[[email protected] ~]# yum install mc -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.vhost.vn
 * extras: mirrors.vhost.vn
 * updates: mirrors.vhost.vn
Resolving Dependencies
-->  Running transaction check
--->  Package mc.x86_64 1:4.8.7-8.el7 will be installed
.
.
.
Running transaction
  Installing : 1:mc-4.8.7-8.el7.x86_64                                                                                                  1/1
  Verifying  : 1:mc-4.8.7-8.el7.x86_64                                                                                                  1/1
Installed:
  mc.x86_64 1:4.8.7-8.el7                                                                                                                   
Complete!

After the installation, enter " mc" from console to execute it.

[[email protected] ~]# mc

midnight_commander_console

To Copy, Rename, Move, Delete and Create a Directory

To create a New Directory press " F7" key and type the directory name.
create_new_directory

To Delete a directory, select the directory you want to delete and press " F8" button to delete it.
delete_directory

To copy files from one directory to other, just highlight the file and hit " F5" key. If you need to copy multiple files, you have to hit " Insert" for each file you need to copy.
copy_directory
Click OK to commit copy process and use " F6" to move the files.

To rename we need to mention the name of the file.
move_directory

To move, just mention the destination path
move_directory_with_destination

Internal Viewer

In console mode, text editors like vi, nano and Joe are available. If you like to see the content of a file text, hit " F3" .
internal_viewer

To edit the file press " F4" key, and edit the content and then press " F2" key to save it.
edit_content

File Permission

Use chmod command to get the Permission to manage read/write the directories and files.
Select a file, then Press" F9" and click File &rarr Chmod or Click " Ctrl-x" and " c" .
chmod
It displays the present permission of the selected file and the other parameters. Make changes according to your requirements.
chmod_command

File Owner

Choose a file then press F9 key and click File &rarr Chown or hit " Ctrl-x" and then " o " .
file_owner
Now set the ownership from the available list of group name and user name. Then click set to apply changes.
change_ownership

FTP Link

MC shows two columns, left and right. Use one of the column or both to connect remote computer using FTP link. Here we are using right side column for FTP connections, Go to FTP Link.
ftp_link
Click enter and type the IP for the FTP server. Then select ok.
ftp_server_ip

ftp_established

To Exit Midnight Commander

Press F9 and select File and then Exit. Press F10 to quit.

Tags:
isaac
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

can you help me with installation of this tool in ubuntu

A

follow this link : https://www.linuxhelp.com/how-to-install-and-use-midnight-commander-on-ubuntu/

Q

please provide installation procedure on debian

A

follow this link : https://www.linuxhelp.com/how-to-install-mc-midnight-commander-tool-on-debian-8-3/

Q

is there any alternative tool for it?

A

yeah , there is , you can use Total Commander, double commander, free commander

Q

how to install Double Commander

A

follow thie link : https://www.linuxhelp.com/how-to-install-double-commander-file-manager-in-ubuntu/

Q

Does it work with my terminal? ¶

A

Yes, it does.

Because GNU Midnight Commander is a full screen program it doesn't run on dummy terminals but anything more advanced will do (like vt100). If your terminal works with vi, emacs, elm or pine it will work with GNU Midnight Commander.

Back To Top!
Rank
User
Points

Top Contributers

1
userNamelinuxhelp
30580

Top Contributers

userNamehamzaahmed
26950

Top Contributers

userNamenaveelansari
21200

Top Contributers

userNameabdularham
21065

Top Contributers

userNameGREEN
21000
Can you help W M ?
How to compare multiple files

Screen Shot 2019-11-09 at 2can someone tell me how to compare more than 2 files? when using the comm command it am only allowed to compare 2 files is there another command I can use?

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2023 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.