---

How To Rename a Directory on Linux

If you have been working with Linux systems for quite some time, you already know how important it is to keep your filesystem structured. In some cases, you may need to create temporary directories with random names that need to be renamed later on. Renaming directories on Linux is not done with a dedicated renaming command but with a command that serves multiple purposes : the ???mv??? command.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis