TestingDocs.com
    Software Testing website
    • Automation
      • Selenium
      • JBehave Framework
    • Tutorials
      • MySQL Tutorials
      • Testlink
      • Maven
      • Git
    • IDEs
      • IntelliJ IDEA
      • Eclipse
    • Flowcharts
      • Flowgorithm
      • Raptor
    • About

    Linux commands

    mv Linux Command

    Overview

    mv Linux command is used to move files and directories from one place to another on the Linux system.  We can even simulate rename with this command if both the source and destination is on the same filesystem.

    mv Linux Command

    Syntax of the command is as follows:

    $ mv <source>  <destination>

    Example

    $ sudo mv jdk16 /opt/jdk

    Here in this example, we are moving the jdk16 directory contents to /opt/jdk. The source is jdk16 directory. The destination is /opt/jdk

     

    mv Linux command

    To know more about the command, visit the man page for the command.

    $ man mv

    In the example, we have also used sudo command. To know more about sudo command:

    https://www.testingdocs.com/sudo-command-in-linux/

    –

    Linux Basic Commands Tutorial page:

    https://www.testingdocs.com/linux-basic-commands-tutorial/

    More Information on Ubuntu Linux:
    https://ubuntu.com/

    Related Posts

    sudo auth log entry

    Linux commands /

    sudo Linux Command with Examples

    Common File Commands in Linux

    Linux commands /

    Common File Commands in Linux

    su linux command

    Linux commands /

    su Linux Command

    ls linux command

    Linux commands /

    ls Linux Command with Examples

    touch create file

    Linux commands /

    touch Linux Command

    ‹ nohup Linux Command with Examples› rm Linux Command with Examples

    Recent Posts

    • ChatGPT Plans Free and PlusChatGPT Subscription Plans
    • Stellar Converter for Database ToolStellar Converter for Database
    • Stellar MySQL Log AnalyzerStellar Log Analyzer for MySQL
    • Stellar Repair for MySQLStellar Repair for MySQL
    • ChatGPT IntroductionChatGPT Capabilities
    • How to secure your SQL Database: Tips and Tricks
    • ChatGPT4 Conversational AI FeaturesChatGPT4 Conversational AI Features
    • Trends in Software EngineeringShaping the Future of Development: Exploring Key Trends in Software Engineering
    • Java PerformanceImproving Java Performance with Multithreading
    • QDrant Vector DatabaseOpen-source Vector Databases
    • Difference between PHP and JavaScript?
    • Bing AI Browser Web ContentBing Conversation Styles
    • ChatGPT PreviewChatGPT Introduction
    • Open Source AI Frameworks TensorFlowOpen Source AI Frameworks
    • Artificial Intelligence Tools

    Back to Top

    Links

    • Contact
    • Privacy Policy
    • Cookie Policy

    www.TestingDocs.com