Select Page

ABIOLA RASP – Raspberries for African School Projects

Wie können wir helfen?

< Alle Themen
Print

Move a file

no-810 au-03

mv command

mv moves or renames file. If copied file does not exist in the directory which will be copied in, it renames.

1) abiola.txt will be moved.

2) Here is the directory

3) Run below command.

mv abiola.txt Abiola/

FORMAT:
mv file dir

file = abiola.txt
dir = Abiola/

1) The file which will be renamed

2) To rename it, run below command

mv abiola.txt ABIOLA.txt

FORMAT:
mv file1 file2

file1 = abiola.txt
file2 = ABIOLA.txt

This article is a component of the “Linux Introduction” course from the ABIOLA online Academy.

Please refer: https://abiola-academy.eu/courses/linux-introduction/?lang=en

Zurück Create a text file
Weiter Copy operations
Inhaltsverzeichnis