• Earn real money by being active: Hello Guest, earn real money by simply being active on the forum — post quality content, get reactions, and help the community. Once you reach the minimum credit amount, you’ll be able to withdraw your balance directly. Learn how it works.

Linux Convenient work with the file system via CLI

dEEpEst

☣☣ In The Depths ☣☣
Staff member
Administrator
Super Moderator
Hacker
Specter
Crawler
Shadow
Joined
Mar 29, 2018
Messages
13,860
Solutions
4
Reputation
27
Reaction score
45,546
Points
1,813
Credits
55,090
‎7 Years of Service‎
 
56%
mc-screenshot-cropped.png


Convenient work with the file system via CLI

Midnight Commander (mc) is a file manager that can be used without a graphical toolkit (GTK, Qt).

It has a graphical interface that is displayed in text mode. It works on all types of terminals and via SSH.

Installation and launch:



Code:
$ sudo apt-get install mc
$ mc


The utility screen is divided into three parts - two panels with files (left and right) and a command line that allows you to enter operating system commands.

Some MC features

1) standard file operations: viewing, editing, copying, renaming/moving, deleting, changing rights, etc.;

2) functions for working with a selected block, search/replace, undo the last operation, color syntax highlighting, etc.;

3) highlighting files of different types in color;

4) by pressing Enter on an archive file (.tar, .tgz, .zip, .a, .rpm, etc.) you can "enter" it;

5) search for files by name template and by content;

6) can work with files on remote systems via FTP and SSH.

Conclusion

The utility is very useful when working on servers, when there is no access to the GUI. In general, I understand that learning these key combinations is a pain. After vim, I get really "twitchy" when I don't see clear buttons)

But it's worth it, guys. Over time, everything starts to work "automatically" and the work goes much faster. That's why it would be good to know nano , vim and mc.
 
Back
Top