Pular para o conteúdo

util.dev.br

Utilities for Developers

  • Tools
  • Library
  • Contact

Renaming a file

You can use the “mv” command to rename a file. For example, the following command renames the file “file.txt” to “new_file.txt”:

mv file.txt new_file.txt

Autor jgouveaPublicado em 25 de fevereiro de 202325 de fevereiro de 2023Categorias File Processing

Navegação de Post

Anteriores Post anterior: Adding content to a file
Próximo Próximo post: Copy a file
  • Bash shell
  • Debugging
  • File Processing
  • Flow commands
  • Functions
  • Process Management
  • Regular Expressions
  • String Manipulation
  • Variables and Operators
util.dev.br Developed by util.dev.br - © 2025 - All rights reserved