On 26 July 2010 16:25, ByteSoup <[email protected]> wrote: > I issued a silly command just now >
I've seen more daft things typed into a terminal, often by me. > 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? > We don't ship /usr/share/bin by default. Chances are there was nothing there and you just made a file called /usr/share/bin with the contents of the file. If you _had_ typed what you typed and there _was_ a bin directory then it would _not_ have overwritten but done what you expect and copy the file into the /usr/share/bin/ folder with whatever name it had in your current directory. Maybe you meant /usr/local/bin ? > If I need to re-install its not too great a job, i just thought seeing > as i havent overwritten a file with another then it may not be so bad? > I doubt you need to reinstall as nothing would seem to be broken. Al. -- [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
