bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

side-effect implementing the mv command


From: Derick Centeno
Subject: side-effect implementing the mv command
Date: Fri, 15 Jan 2010 16:58:21 -0500

Recently I executed the following:

$ sudo mv ./libjavaplugin_oji.so /usr/lib/mozilla/plugins

Explanation:  I was within the directory where the java plugin existed
which is: /opt/ibm/java-ppc-60/jre/plugin/ppc/ns7.  The above was
executed from within the ns7 directory.  The intention was to move *.so
into the plugins directory.

The above may have created an unintended side effect; I
noticed that mv did not erase the original location of *.so but
created in fact a link from the within the plugins directory to *.so
within the ns7 directory! I don't have a theory why this happened other
than to guess that as I did not provide a new filename for 
the mv command to rename the *.so file mv proceeded to create a link to
the original *.so file.

Ideas?

Thanks.
=========
Refranes/Popular sayings:
The Taino say:No hay mal que por bien no venga.
There is no evil out of which good cannot blossom.

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]