How to move folders in Linux


In linux, you can quickly move folders through the command line mv, or you can modify the folder name through mv

In the example we move the testdir1 folder into testuser1


mv testdir1 testuser1


mv : move (rename) files
Was this helpful?

I hope to help every developer quickly find the commands they need. Of course, you can also add your own commonly used commands for easy searching.