Author: Willie

Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.

Changing file names through the terminal is one of the most common tasks for any Linux user. Whether you need to rename file in Linux for a single document or process hundreds at once, two commands handle most of the work: mv and rename. The mv command ships with every distribution and works well for quick, individual renames. The rename utility adds Perl regex support for batch operations. This guide covers both with practical examples so you can pick the right one for your situation. You will also find a section on using the graphical file manager. How to Rename…

Read More

NAME fanotify – monitoring filesystem events DESCRIPTION The fanotify API provides notification and interception of filesystem events. Use cases include virus scanning and hierarchical storage management. Currently, only a limited set of events is supported. In particular, there is no support for create, delete, and move events. (See inotify(7) for details of an API that does notify those events.) Additional capabilities compared to the inotify(7) API include the ability to monitor all of the objects in a mounted filesystem, the ability to make access permission decisions, and the possibility to read or modify files before access by other applications.…

Read More