Bash and Linux 5 · Files and directories
Move or rename a file
Move a file, or rename it by giving a new name in the same folder.
mv old-name.txt new-name.txt
Official Bash and Linux 5 documentation
More files and directories commands
- List files with details
- Create nested directories
- Copy a directory
- Delete a directory
- Create a symbolic link
- Page through a file
All files and directories commands · Bash and Linux 5 cheatsheet