rm
rm is a Linux command in the File Operations category, rated beginner difficulty. Removes files or directories. Use with caution — no trash bin. The syntax is rm [options] file. Key options and parameters: file — file(s) or directory to remove. It returns none (files removed). A practical example: rm file.txt rm -r directory # Recursively remove directory rm -f file.txt # Force remove (no confirmation) rm -rf /path # ⚠️ DANGEROUS: force recursive remove A close relative is ls, which lists directory contents. One of the most frequently used commands. A close relative is cd, which changes the current working directory. A close relative is pwd, which prints the current working directory path. More about this category: Linux file operation commands — ls, cd, cp, mv, rm, mkdir, touch, and more. Create, delete, copy, and manage files and directories. Related File Operations commands: ls, cd, pwd, mkdir, rmdir, cp, mv, touch.