Skip to content
Facebook-f Twitter Linkedin-in Youtube Rss
  • 1.646.775.2855
  • 91. 93536 44646
  • VPS control
  • Client Area
Medha Hosting Logo
  • HOME
  • SERVERS
    • DEDICATED SERVERS
    • VPS SERVERS
    • COLOCATION SERVICES
    • Email & Security
      • Email And Collaboration
        • Microsoft Office 365 – India
        • Microsoft Office 365 – US & Canada
        • Google G Suite – US & Canada
        • Google G Suite – India
      • SSL Certificates
  • SERVER MANAGEMENT
    • MICROSOFT SERVER SUPPORT
      • EXCHANGE SERVER SUPPORT
      • WINDOWS SERVER SUPPORT
      • MS SQL SERVER SUPPORT
      • MS IIS SERVER SUPPORT
      • MS SHAREPOINT SERVER SUPPORT
    • LINUX SERVER SUPPORT
      • CPANEL SERVER SUPPORT
      • DIRECTADMIN SERVER SUPPORT
      • VPS MANAGEMENT
      • VMWARE SERVER SUPPORT
      • PLESK SERVER SUPPORT
  • MANAGED IT SERVICES
    • Managed Cloud
      • GOOGLE CLOUD
      • AZURE CONSULTING
      • VIRTUALIZATION
      • AWS CONSULTING
      • OFFICE 365 MIGRATION
    • Managed Hosting
    • Professional Services
      • 365 X 24 X 7 NOC
      • LINUX ADMINISTRATION
      • PATCHING
      • HIGH AVAILABILITY SOLUTIONS
      • WINDOWS ADMINISTRATION
      • NETWORK ADMINISTRATION
      • APPLICATION SERVER MANAGEMENT
    • White Label Managed IT Services
  • ABOUT US
    • DATA CENTERS
    • LOCATIONS
      • New York City
      • Atlanta
      • Dallas
      • Houston
      • Chicago
      • Orlando
      • Calgary
      • Sydney
      • London
      • Dublin
      • Singapore
    • OUR PARTNERS
    • FAQS
    • AFFILIATES
    • CAREERS
    • CONTACT US
    • BLOG
      • Write For Us
Menu
  • HOME
  • SERVERS
    • DEDICATED SERVERS
    • VPS SERVERS
    • COLOCATION SERVICES
    • Email & Security
      • Email And Collaboration
        • Microsoft Office 365 – India
        • Microsoft Office 365 – US & Canada
        • Google G Suite – US & Canada
        • Google G Suite – India
      • SSL Certificates
  • SERVER MANAGEMENT
    • MICROSOFT SERVER SUPPORT
      • EXCHANGE SERVER SUPPORT
      • WINDOWS SERVER SUPPORT
      • MS SQL SERVER SUPPORT
      • MS IIS SERVER SUPPORT
      • MS SHAREPOINT SERVER SUPPORT
    • LINUX SERVER SUPPORT
      • CPANEL SERVER SUPPORT
      • DIRECTADMIN SERVER SUPPORT
      • VPS MANAGEMENT
      • VMWARE SERVER SUPPORT
      • PLESK SERVER SUPPORT
  • MANAGED IT SERVICES
    • Managed Cloud
      • GOOGLE CLOUD
      • AZURE CONSULTING
      • VIRTUALIZATION
      • AWS CONSULTING
      • OFFICE 365 MIGRATION
    • Managed Hosting
    • Professional Services
      • 365 X 24 X 7 NOC
      • LINUX ADMINISTRATION
      • PATCHING
      • HIGH AVAILABILITY SOLUTIONS
      • WINDOWS ADMINISTRATION
      • NETWORK ADMINISTRATION
      • APPLICATION SERVER MANAGEMENT
    • White Label Managed IT Services
  • ABOUT US
    • DATA CENTERS
    • LOCATIONS
      • New York City
      • Atlanta
      • Dallas
      • Houston
      • Chicago
      • Orlando
      • Calgary
      • Sydney
      • London
      • Dublin
      • Singapore
    • OUR PARTNERS
    • FAQS
    • AFFILIATES
    • CAREERS
    • CONTACT US
    • BLOG
      • Write For Us

In this post we will see how to move Files and directories using terminal commands in CentOS. CentOS is a Community Enterprise operating system which mainly focuses on the server. It is a part of Linux Operating System Distribution, and it is free to use. First open the terminal.

placeholder
Total Time Needed: 30 minutes

Required Tools:

CentOS

Steps to move Files and Directories in CentOS

Step 1 : Move Files
To move files use the command mv source destination. For example, to move a file 1.txt to directory Documents. Type the command mv 1.txt Documents and press enter.
ZXVsdff s FS
Step 2 : Move Directories
To move Directories use the command mv. For example, to copy dir5 to dirc type the command mv dir5 dirc and press enter. If the directory is already present in dirc, the terminal will ask you for confirmation. Type y for yes and press enter.
XXVdbsvsd
Step 3 : Move Directories without Terminal Asking for Confirmation
To move Directories without terminal asking for confirmation using the command mv –f source destination. For example, to move dir5 to dirc without asking for confirmation type, the command mv –f dir5 dirc and press enter
ZXXVs sd
Step 4 : Move Multiple Files
To move multiple files, use the same command mv but add Multiple sources and a single destination. For example, to move 2.txt, 3.txt, 4.txt to downloads. Type the command mv 2.tct 3.txt 4.txt Downloads and press enter.
Vadvsvsv
Step 5: Move Files and Check Summary
To moves files and check summary use the command mv –v source destination. For example, to move 2.txt, 3.txt, 4.txt to downloads and check summary type the command mv –v 2.tct 3.txt 4.txt Downloads and press enter.
zVAVsvfsav
Conclusion:
You can easily move files and directories in CentOS following these steps. However, if you got any doubts and need help to manage you Linux infrastructure please contact Medha Hosting.
Read Here: How to Copy Files and Directories in CentOS?

Need help? Call our support team 24/7 at +1 646-775-2855

Medha Hosting Logo

We are Medha hosting, Fast Growing Business IT Services Company with most talented people.

USA: 447 Broadway,2nd FL #196New York, NY 10013.
Phone +1 646 775 2855

India: #74, 7th Cross, Kirshna Garden Incity Layout, Chikka kammanahalli, Banneraghatta Road, Bangalore 560083
Phone:+91 93536 44646

Servers and Cloud
  • Dedicated Servers
  • VPS hosting
  • cPanel servers
  • Office 365
  • G Suite
Services
  • Server support
  • Managed IT services
  • Data Center migration
  • Application management
  • Cloud management
Get Started
  • Client area
  • Resources
  • Tutorials
  • Affiliates
  • Docs
About
  • About Medha Hosting
  • Customer stories
  • Blog
  • Careers
  • Brand Assets
Facebook-f Twitter Youtube Linkedin-in Rss
Payment Button

© 2019 All rights reserved

  • Terms of Service |
  • Privacy Policy |
  • AUP |
  • Service Level Agreement