Three ways to rename a file in Linux

Each operating system implies interaction with files. Often the user has to deal with the need to rename a file. At first glance, nothing is simpler, but there are several ways to perform the presented operation in an OS based on the Linux kernel. In this article we will talk about three of these.

rename linux file




Method 1: File Manager

Renaming a Linux file to an inexperienced user will be easier in the graphical file manager . This will greatly facilitate the task, since the user can visually control the process. In addition, it is ideal for those people who have just switched from Windows to Linux, since the technology is almost identical.

So, to rename the Linux file in the file manager, you need:

  1. ( Nautilus, Gnome).
  2. , .
  3. ().
  4. "".
  5. .
  6. Enter.

how to rename file in mc in linux








, Linux Windows. .

2:

Linux - . . , , , MC, "", "". , MC Linux.

, . "mc". , "" :

sudo apt install mc

"" . . , "" MC, , . "", Enter .

, F6. "", , . , , . .

3: Linux

, Linux ( " " Windows).

. , "", , " ", " ". :

  1. , "".
  2. , cd. : "cd /home//".
  3. mv. -v, . : "mv -v " " " ".

linux rename file in console




This was the third way to rename a Linux file. By the way, after all the actions done, the “Terminal” can be closed.




All Articles