

- #INSTALLING MIDNIGHT COMMANDER MAC HOW TO#
- #INSTALLING MIDNIGHT COMMANDER MAC FULL#
- #INSTALLING MIDNIGHT COMMANDER MAC WINDOWS#
Shifting between Midnight Commander and Command LineĪs useful as Midnight Commander is, it’s not going to replicate everything you need to do on the command line. However, if you still must run Midnight Commander with sudo, you should at least create a separate theme that makes it clear that you’re running Midnight Commander as sudo by applying a theme.

Creating a folder in Midnight Commander while running as sudo means that the folder belongs to the root user.

Why is this scenario a bad thing? There are two main reasons: Any actions you perform as sudo are done as the root user. If you really wanted to change that file you would need sudo rights.Īlthough you can modify any file on your system with sudo rights, that doesn’t mean you should. If you had tried to save that file after editing, you would actually find that you can’t: it’s protected. In the last section, you edited a file located at /etc/nf. If you end up editing or changing protected files, you need to run the text editor as an administrator or what Linux calls as sudo.
#INSTALLING MIDNIGHT COMMANDER MAC WINDOWS#
At its core though, the basics work just like Windows Notepad. Midnight Commander offers many other features only seen on more advanced editors such as regex text replacement or changing file encoding. You can see a visual representation of this steps below.
#INSTALLING MIDNIGHT COMMANDER MAC HOW TO#
Check out the next section to learn how to handle this.
#INSTALLING MIDNIGHT COMMANDER MAC FULL#
You can find the full shortcut list here (in typical midnight commander 1990’s style). You can look for articles that covers some of its more advanced features, as well as keyboard shortcuts. You can do the essentials with a mouse, but it’s worth learning some of the more useful keyboard shortcuts over time. Midnight commander, just like other text user interface (TUI) tools, is keyboard-focused. Despite the retro look, it’s an extremely powerful tool for navigating Linux on the command line. It also has a ton of other useful utilities hidden beneath the surface. How freaking cool is that?! This elevates it from a handy utility, to being an invaluable tool for navigating the command line. A Demonstration of the Mouse Support in Midnight Commander
