On Monday 26 July 2010 16:25:43 ByteSoup wrote: > sudo cp <filename> /usr/share/bin > > Missing the trailing "/" and now instead of the directory > /usr/share/bin, i have a file called "bin". Now is this as I suspect > trashed the directory, or was /usr/share/bin normally a symlink to > another directory anyway?
If you type that command and a directory /usr/share/bin already exists, you will copy <filename> into it. If that directory does not exist, you will copy <filename> to /usr/share and rename it to bin. /usr/share/bin is not a standard directory in any Linux distribution of which I am aware. You may be confusing it with /usr/local/bin. Regards, Tyler -- "Offending fundamentalists isn't my goal – but if it is an inevitable side-effect of defending human rights, so be it." -- Johann Hari -- [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
