Try doing a listing with expansion rather than typing it yourself. Something like: root@ldesk:~# ls -ld /etc/dh 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 . > 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 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