On Fri, Sep 12, 2014 at 08:46:10AM -0400, Fred James wrote:
> John Jason Jordan wrote:
> > Michael Rasmussen <[email protected]> dijo:
> >> ls -l ./.cache/dconf will reveal.
> > ls -l ./.cache/dconf
> > ls: cannot open directory ./.cache/dconf: Permission denied
> >
> Just to be clear
>      ls -l directoryname
>      ls -l
> are different ...
>      the first is asking for a listing of the contents of directoryname
>      the second is asking for a listing of the current directory (PWD)

and to be more clear

ls -ld will show the directory itself, not the contents

John may want to ls -ld ./.cache

A handy use of it is 
    ls -ld */ 
to show all the directories in your current directory. 
For example:

    michael@bivy ~/dl % ls -ld */                               6:46 2014-09-12 
100%
    drwxrwxr-x  2 michael michael  4096 Jun 19  2013 book2/
    drwxr-xr-x  3 michael michael  4096 May 29  2013 db-prefix-change/
    drwxrwxr-x  2 michael michael  4096 May 10  2013 dbp-1.1.9/
    drwxrwxr-x  2 michael michael  4096 Jun  1  2013 deblur/
    drwxrwxr-x  5 michael michael  4096 Jun 20  2013 dedrm/
    drwxr-xr-x  2 michael michael 12288 Jan 14  2014 eye-fi/
    drwxr-xr-x  7 michael michael  4096 May  9  2013 libfixbuf-1.3.0/
    drwxrwxr-x  2 michael michael  4096 Sep 22  2013 mw/
    drwxr-xr-x  3 michael michael  4096 May 20  2010 p0flib/
    drwxrwxr-x 31 michael michael 36864 Apr 27 12:38 pre-20121229/
    drwxrwxr-x  7 michael michael  4096 May 12  2013 tweets/
    drwxrwxr-x  2 michael michael  4096 Jan 12  2013 
wordpressforphotographers-1.0.3/
    drwxr-xr-x 11 michael michael  4096 May  9  2013 yaf-2.4.0/


-- 
      Michael Rasmussen, Portland Oregon  
    Be Appropriate && Follow Your Curiosity
She tried to sit on my lap while I was standing up.
        ~  Raymond Chandler
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to