Advanced file management
Beyond the Basics
Once you've mastered the everyday commands for manipulating files, you might want to do more. We show you some powerful commands for advanced file management.
If you've worked from the command line regularly, you've probably learned the common options for commands such as cp, ls, mv, and rm. You also might have learned to change file attributes with commands like chmod and chown and to read the contents of files with less, head, and tail. However, these are only the basics for file management. Beyond these options is wealth of advanced commands for manipulating, viewing, verifying, and securely deleting files, to say nothing of copying in ways that go far beyond what cp can manage.
In fact, the command line is meant for file management. The desktop is fine for routine operations such as copying files from one device to another or changing basic permissions. But file management is a basic function, and people have been carrying it out at the command line as long as computers have existed. As a result, once you know the tools that are available, the command line is quicker and more precise than the desktop in every aspect of file management you can imagine – and, very likely, in those you can't.
Most of these advanced commands are installed automatically on your system – many as part of the GNU coreutils package [1]. However, in the few cases in which they are not, all of the commands should be in the repository of whatever distribution you happen to use.
[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
MX Linux 25.1 Features Dual Init System ISO
The latest release of MX Linux caters to lovers of two different init systems and even offers instructions on how to transition.
-
Photoshop on Linux?
A developer has patched Wine so that it'll run specific versions of Photoshop that depend on Adobe Creative Cloud.
-
Linux Mint 22.3 Now Available with New Tools
Linux Mint 22.3 has been released with a pair of new tools for system admins and some pretty cool new features.
-
New Linux Malware Targets Cloud-Based Linux Installations
VoidLink, a new Linux malware, should be of real concern because of its stealth and customization.
-
Say Goodbye to Middle-Mouse Paste
Both Gnome and Firefox have proposed getting rid of a long-time favorite Linux feature.
-
Manjaro 26.0 Primary Desktop Environments Default to Wayland
If you want to stick with X.Org, you'll be limited to the desktop environments you can choose.
-
Mozilla Plans to AI-ify Firefox
With a new CEO in control, Mozilla is doubling down on a strategy of trust, all the while leaning into AI.
-
Gnome Says No to AI-Generated Extensions
If you're a developer wanting to create a new Gnome extension, you'd best set aside that AI code generator, because the extension team will have none of that.
-
Parrot OS Switches to KDE Plasma Desktop
Yet another distro is making the move to the KDE Plasma desktop.
-
TUXEDO Announces Gemini 17
TUXEDO Computers has released the fourth generation of its Gemini laptop with plenty of updates.

