-1

I would like to know how to change the name of a txt file inside a directory.

I know that I can mv test123 test456, but that only changes the name in the current directory. What if I want to change the name of a txt file inside /home/folder1/?

anonymous2
  • 4,325

1 Answers1

2

Run the following:

mv /home/folder1/test123 /home/folder1/test456
anonymous2
  • 4,325