$mv
Move or rename files and directories.
mv [OPTIONS] SOURCE... DESTLive im interaktiven Terminal ausprobieren
Client-seitige Simulation ohne Installation mit sofortigem Feedback.
Überblick & Funktionsweise
`mv` (Move) renames files and directories or moves them across different folder locations. If source and destination are on the same filesystem partition, `mv` is an atomic inode pointer update that executes instantly regardless of file size.
Wichtige Optionen und Flags
| Flag / Option | Description |
|---|---|
| -i | Prompt before overwriting an existing destination file. |
| -f | Force overwrite without prompting. |
| -n | Do not overwrite an existing file (no-clobber). |
| -v | Verbose mode explaining actions being taken. |
Praktische Anwendungsbeispiele
mv notes.txt project_ideas.txt && ls -lRenames notes.txt to project_ideas.txt.
Verwandte Linux-Befehle
Durchsuchen Sie Verzeichnishierarchien nach Dateien basierend auf Name, Typ, Größe oder Änderungsdatum.
Dateiinhalte verketten und auf der Standardausgabe ausgeben.
Create new directories and folder hierarchies.
Remove files or directories from the filesystem.
Copy files and directories to a destination path.
Create empty files or update file access and modification timestamps.