On 26 July 2010 16:47, ByteSoup <[email protected]> wrote: > On 26/07/10 16:37, Paul Sladen wrote: > > On Mon, 26 Jul 2010, ByteSoup wrote: > > > sudo cp <filename> /usr/share/bin > was /usr/share/bin normally a symlink to another directory anyway? > > > '/usr/share/bin' does not normally exist. You have just created it (as a > file). You can read about the purpose of '/usr/share/*' over in the > Filesystem Hierarchy Standard (FHS): > > > http://www.pathname.com/fhs/pub/fhs-2.3.html#USRSHAREARCHITECTUREINDEPENDENTDATA > > "The /usr/share hierarchy is for all read-only > architecture independent data files.". > > Perhaps you were after '/usr/local/bin/' ? > > -Paul > > > Ha ha! Thanks to everyone who replied... your right! I was trying to put the > shell script into the common directory thats in your normal path as a user > /usr/local/bin. I blame turning 40 this year :-P > > Anyway the "cp" command wont allow you to overwrite a directory with a file > normally will it? I thought Id just missed the trailing space and begun to > worry. >
Correct. It will put the file into the directory instead. Cofion/Regards, Neil. -- [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
