<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 26/07/10 16:37, Paul Sladen wrote:
<blockquote
cite="mid:Pine.LNX.4.21.1007261631080.2249-100000@starsky.19inch.net"
type="cite">
<pre wrap="">On Mon, 26 Jul 2010, ByteSoup wrote:
</pre>
<blockquote type="cite">
<pre wrap="">sudo cp <filename> /usr/share/bin
was /usr/share/bin normally a symlink to another directory anyway?
</pre>
</blockquote>
<pre wrap="">
'/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):
<a class="moz-txt-link-freetext" href="http://www.pathname.com/fhs/pub/fhs-2.3.html#USRSHAREARCHITECTUREINDEPENDENTDATA">http://www.pathname.com/fhs/pub/fhs-2.3.html#USRSHAREARCHITECTUREINDEPENDENTDATA</a>
"The /usr/share hierarchy is for all read-only
architecture independent data files.".
Perhaps you were after '/usr/local/bin/' ?
        -Paul
</pre>
</blockquote>
<font face="Arial">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 </font>/usr/local/bin. I blame turning 40
this year :-P<br>
<br>
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.<br>
<br>
Thanks to everyone who replied :-)<br>
<br>
-Mark<br>
</body>
</html>