Did that and its failure to show any but dhcp3 should have been a
clue. The answer is that ls /etc/dh* was showing results from
subdirectories as well with no obvious distinction. This should
clarify it:
root@ldesk:/etc# ls -l dh*
total 28
-rw-r--r-- 1 root root 1554 2006-09-06 09:00 dhclient.conf
-rw-r--r-- 1 root root 1566 2005-09-14 17:41 dhclient.conf~
drwxr-xr-x 2 root root 4096 2006-07-13 15:03 dhclient-enter-hooks.d
drwxr-xr-x 2 root root 4096 2006-06-07 21:33 dhclient-exit-hooks.d
-rwxr-xr-x 1 root root 8322 2006-05-05 08:02 dhclient-script
root@ldesk:/etc# cd dhcp3/
root@ldesk:/etc/dhcp3# ls -l
total 28
-rw-r--r-- 1 root root 1554 2006-09-06 09:00 dhclient.conf
-rw-r--r-- 1 root root 1566 2005-09-14 17:41 dhclient.conf~
drwxr-xr-x 2 root root 4096 2006-07-13 15:03 dhclient-enter-hooks.d
drwxr-xr-x 2 root root 4096 2006-06-07 21:33 dhclient-exit-hooks.d
-rwxr-xr-x 1 root root 8322 2006-05-05 08:02 dhclient-script
root@ldesk:/etc/dhcp3# cd dhclient-enter-hooks.d/
root@ldesk:/etc/dhcp3/dhclient-enter-hooks.d# ls -l
total 8
-rw-r--r-- 1 root root 1018 2005-09-14 17:41 debug
-rwxr-xr-x 1 root root 1326 2005-07-21 11:31 samba
root@ldesk:/etc/dhcp3/dhclient-enter-hooks.d#
Notice the 1's and 2's before the owner names? I was checking what
they might be and tried this. That digit is still unexplained (to me)
but it was the reason I tried this.
I still do not know why Alex saw the space, but am now suspecting it
was never there and only appeared in the handling of the email
somewhere.
On 9/7/06, Kurt Granroth <
plug-discuss@granroth.org> wrote:
> Try doing a listing with expansion rather than typing it yourself. Something
> like:
>
> root@ldesk:~# ls -ld /etc/dh<TAB><TAB>
>
> Do that until it completes the full directory name.
>
> On Thursday 07 September 2006 10:11, Dazed_75 wrote:
> > root@ldesk:~# ls -al /etc/dh*
> > total 40
> > drwxr-xr-x 4 root root 4096 2006-09-06 09:00 .
> > drwxr-xr-x 115 root root 8192 2006-09-07 08:40 ..
> > -rw-r--r-- 1 root root 1554 2006-09-06 09:00 dhclient.conf
> > -rw-r--r-- 1 root root 1566 2005-09-14 17:41 dhclient.conf~
> > drwxr-xr-x 2 root root 4096 2006-07-13 15:03 dhclient-enter-hooks.d
> > drwxr-xr-x 2 root root 4096 2006-06-07 21:33 dhclient-exit-hooks.d
> > -rwxr-xr-x 1 root root 8322 2006-05-05 08:02 dhclient-script
> > root@ldesk:~# ls -ald /etc/dh*
> > drwxr-xr-x 4 root root 4096 2006-09-06 09:00 /etc/dhcp3
> > root@ldesk:~# ls -ald /etc/dhclient-enter-hooks.d
> > ls: /etc/dhclient-enter-hooks.d: No such file or directory
> > root@ldesk:~# ls -al /etc/dhclient-enter-hooks.d
> > ls: /etc/dhclient-enter-hooks.d: No such file or directory
> > root@ldesk:~# ls -alF /etc/dhclient-enter-hooks.d
> > ls: /etc/dhclient-enter-hooks.d: No such file or directory
> > root@ldesk:~# ls -alF /etc/dh*
> > total 40
> > drwxr-xr-x 4 root root 4096 2006-09-06 09:00 ./
> > drwxr-xr-x 115 root root 8192 2006-09-07 08:40 ../
> > -rw-r--r-- 1 root root 1554 2006-09-06 09:00 dhclient.conf
> > -rw-r--r-- 1 root root 1566 2005-09-14 17:41 dhclient.conf~
> > drwxr-xr-x 2 root root 4096 2006-07-13 15:03 dhclient-enter-hooks.d/
> > drwxr-xr-x 2 root root 4096 2006-06-07 21:33 dhclient-exit-hooks.d/
> > -rwxr-xr-x 1 root root 8322 2006-05-05 08:02 dhclient-script*
> > root@ldesk:~#
> >
> > oh, and
> >
> > root@ldesk:~# ls --version
> > ls (GNU coreutils) 5.93
> > Copyright (C) 2005 Free Software Foundation, Inc.
> > This is free software. You may redistribute copies of it under the terms
> > of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
> > There is NO WARRANTY, to the extent permitted by law.
> >
> > Written by Richard Stallman and David MacKenzie.
> >
> > root@ldesk:~#
> >
> > On 9/7/06, Jeremy C. Reed <reed@reedmedia.net> wrote:
> > > > > root@ldesk:/etc# ls -lF dh*
> > > > > total 28
> > > > > -rw-r--r-- 1 root root 1554 2006-09-06 09:00 dhclient.conf
> > > > > -rw-r--r-- 1 root root 1566 2005-09-14 17:41 dhclient.conf~
> > > > > drwxr-xr-x 2 root root 4096 2006-07-13 15:03 dhclient-enter-hooks.d/
> > > > > drwxr-xr-x 2 root root 4096 2006-06-07 21:33 dhclient-exit-hooks.d/
> > > > > -rwxr-xr-x 1 root root 8322 2006-05-05 08:02 dhclient-script*
> > > > > root@ldesk:/etc# cd dhclient-enter-hooks.d/
> > > > > -su: cd: dhclient-enter-hooks.d/: No such file or directory
> > > > > root@ldesk:/etc# ls -al dhclient-enter-hooks.d
> > > > > ls: dhclient-enter-hooks.d: No such file or directory
> > > > > root@ldesk:/etc#
> > >
> > > I wonder if this is caused by your version of "ls". (Maybe it is really
> > > in a subdirectory? Normally the directory names are displayed also in
> > > that case, so this is just a guess.)
> > >
> > > What happens when you add "-d" switch to your "ls" command?
> > > ---------------------------------------------------
> > > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> > > To subscribe, unsubscribe, or to change you mail settings:
> > > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> |||
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
--
Be who you are and say what you feel, because those who mind don't
matter and those who matter don't mind. - Dr. Seuss
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss