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
-
KDE for People Initiative Calls for AI Ban in Plasma
A new community of KDE wants the project to adopt a strict no-AI policy for KDE Plasma.
-
KDE Sets Ambitious Goals for 2026 and Beyond
KDE Connect reveals the goals for the Linux desktop darling, with one of those goals long overdue.
-
It’s Time to Test Fedora 45 Beta
Fedora 45 beta has been released with updated Gnome, KDE Plasma, and kernel.
-
Ubuntu Stonking Stingray Gets Even Rustier
Ubuntu 26.10 has completed its migration to the Rust-based coreutils.
-
AI Fixes Linux Bottlenecks Using “Hideous” Code
A Linux developer used AI to fix bottlenecks that caused problems when building the kernel. The resulting AI-generated code needed a lot of work.
-
Advanced Video Coding Still Under Patent
Brazilian patent BRPI0109962B1 has expired, which means that DivX and Xvid are no longer problematic for Linux, but it doesn’t mean that video is all of a sudden fully unleashed.
-
2,000 Vulnerabilities per Linux Release
Thanks to AI bug hunters, the Linux kernel is seeing record numbers of vulnerabilities, and it's overwhelming developers.
-
Linux Exempt from California’s Age Verification Law
So long as Linux is distributed under the GPL, MIT, BSD, and Apache licenses, the OS is exempt from being required to verify the age of its users in California.
-
Roll Out the Cake: Linux Turns 35
35 years ago, a Finnish student began a humble project that would forever change the course of technology.
-
China Switching from Windows to Linux
China has ordered several government agencies to drop a Chinese-developed version of Windows 10 in favor of either KylinOS or UOS.
