ASKER
First, moving a file (within the same filesystem) never actually moves the contents of the file itself; it simply moves the directory entry. For a large file, this is much faster.i am not clear on above. can you please elaborate?
ASKER
ASKER
ASKER
ASKER
if you want dir1 to be within dir2if there is no dir2 before hand what happens?
mv dir1 dir2/ will relocate dir1 to be within dir2. since dir2 did not exist prior to your issuing the command, mv interpreted what you did as a move. if dir2 existed, you would get dir1 moved into dir2.
ASKER
ASKER
ASKER
Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.
TRUSTED BY
ASKER
you mean as below right?