Home  >  Article  >  Operation and Maintenance  >  How to rename files in linux

How to rename files in linux

王林
王林Original
2020-05-14 11:24:055968browse

How to rename files in linux

You can use the mv command in Linux to rename files or directories.

Command format:

mv 源文件名 目标文件名

means changing the source file name to the target file name.

Example:

Rename the file aaa to bbb.

mv aaa bbb

Recommended tutorial: linux tutorial

The above is the detailed content of How to rename files in linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn