Learn Linux Quickly
上QQ阅读APP看书,第一时间看更新

Moving multiple directories

You can also move multiple directories at once. To demonstrate, create a directory named big in Elliot's home directory:

elliot@ubuntu-linux:~$ mkdir big

Now you can move the three directories d1, d2, and cities to the big directory as follows:

elliot@ubuntu-linux:~$ mv d1 d2 cities big
elliot@ubuntu-linux:~$ ls big
cities d1 d2
elliot@ubuntu-linux:~$