To move the file, use the MV command. Common options for MV include:
-i-interaction. If the file you select will overwrite the existing file in the target, it will prompt you. This is a practical option because, like the-i option in CP, it gives you an opportunity to confirm the replacement of the saved file.
f coercion. It goes beyond the interactive mode and moves the file without prompting. This option is dangerous unless you know what you're doing. Use this option carefully before you have confidence in your system.
-v-details. Displays the progress of the file's movement.
If you want to move the file from your home directory to another existing directory, type the following command (you need to be in your home directory):
MV Sneakers.txt Tigger
Another approach is to use the same command, but use an absolute path, such as:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.