Categories
Tags
a Accessibility Advanced Algorithms Alias API Design Authentication Bash bash Basics Beginners Best Practices Big O bun cat cd CLI Cloudflare Comments Container Elements Container Queries cp css CSS Data Structures Delta deno DevOps Doctype Download Editors Error Examples Features figure File Watching Filesystem fish Fish Shell footer frontend Guide header Hello World History Homebrew HTML HTML5 humor img javascript JavaScript Learning less Links linux Linux ls macOS Media Queries meta Mobile-First mv Netcat Networking Node.js npm Open Source Package Manager picture pm2 Privacy Productivity programming Programming pwd Quill Remote Access Responsive Design Responsive Images Rich Text Editor rmdir Runes Scalability section Security Self-hosting Semantic HTML shell Shell Shell Script Shells srcset State Management Structure Svelte Svelte 5 Svelte Store SvelteKit svg Tables tail Text Formatting Tools touch Troubleshooting Tunnel Tutorial TypeScript Unix ux Video Processing Vim web development Web Development web-development webdev
55 words
1 minutes
Linux commands: mv
Linux commands: mv
The mv
command in Linux is used to move or rename files and directories.
Moving Files
To move a file, use the following command:
mv source_file destination_directory
Renaming Files
To rename a file, use:
mv old_name new_name
Conclusion
The mv
command is a versatile tool for moving and renaming files and directories in Linux. It is essential for file management tasks.
Linux commands: mv
https://zxce3.net/posts/cli/linux-commands-mv/