[ubuntu-uk] non-blooper: did not overwrote /usr/share/bin
ByteSoup
bytesoup at gmail.com
Mon Jul 26 16:47:12 BST 2010
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.
Thanks to everyone who replied :-)
-Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-uk/attachments/20100726/cdf16153/attachment.htm
More information about the ubuntu-uk
mailing list