On Sun, Sep 02, 2001 at 10:48:48PM -0400, Tim Wunder wrote:
>What does the 'mv' command actually do? 
>I've always been under the impression that it simply renames the 
>file/directory, but I get the feeling there's more to it than that.

The ``mv'' command does different things depending on the
arguments.  ``mv file1 path_to/file2'' renames file1 as file2,
but will actually move the file if the destination is on a
different file system.  ``mv file1 [file2 ...] directory'' moves
the file(s) to the directory which may be on a different file
system.  This is very much more powerful than the DOS ``ren''
command that just renames files.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

Instead of giving money to found colleges to promote learning, why don't
they pass a constitutional amendment prohibiting anybody from learning
anything?  If it works as good as the Prohibition one did, why, in five
years we would have the smartest race of people on earth.
                -- The Best of Will Rogers
_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users

Reply via email to