mv -i src.txt dst.txt

Category: File Operations

mv -i src.txt dst.txt

Move interactively, prompt before overwriting

Asks for confirmation before overwriting an existing file at the destination. Safer than plain mv.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.