rm Linux Command Cheatsheet




0

rm (remove) Linux Command is used to remove objects such as files, directories, symbolic links, device nodes, pipes and sockets from the file system.

Syntax


Examples

Removing a single file


Removing multiple files


Interactive deletion


Force deletion (Removes even if the file is write protected)


Delete recusively



© Copyright 2025 One Compiler Pvt. Ltd. | Privacy Policy | Terms & Conditions