Defcon-1-Logo

           [Home]    [FBSD Articles]    [Scripts Corner]    [Contribute]    [Search]    [FBSD Links]    [Files]

About Us

FreeBSD Articles
  *Hardware
  *Networking
  *Security
  *Software
  *X Windows


Files / Scripts
Newbies Corner
Tech. Talk
Tips and Tricks


FreeBSD Links

Articles in other
Languages :
  *French Articles
  *Spanish Articles

Want to Help ?
 
   Click Here

Email Users 5

Search:
 

 


FreeBSD Search:


 

 

Powered-By-Apache-Logo
logo6

Understanding the file propeties of a file is sometimes hard to understand, so here is a quick tutorial on doing just that. You normally see the below when you do a ls -al, and dont understand what it means, hopefully after you see this, you will then have a better understanding.

drwxr-xr-x  2 root   wheel    512 Jan 3 19:21 ppp
-rw-r--r--  1 root   wheel   1790 Nov 30 00:15 printcap
-rw-r--r--  1 root   wheel    818 Nov 30 00:15 profile
-rw-r--r--  1 root   wheel   1663 Nov 30 00:15 protocols
-rw-r--r--  1 root   wheel   40960 Mar 13 11:41 pwd.db
-rw-rw-rw- 1 root   wheel   8091 Nov 30 00:15 rc
-rw-r--r--  1 root   wheel   3512 Oct 17 12:08 rc.atm
-rw-r--r--  1 root   wheel   8252 Mar 6 15:28 rc.conf
-rw-r--r--  1 root   wheel   8252 Mar 6 15:28 rc.conf.previous
-rw-r--r--  1 root   wheel    237 Oct 17 12:08 rc.devfs
-rw-r--r--  1 root   wheel   5849 Nov 30 00:15 rc.firewall
-rw-r--r--  1 root   wheel   2853 Nov 30 00:15 rc.i386
-rw-r--r--  1 root   wheel    659 Jan 14 21:49 rc.local

line

Always want to to know how to read the properties of a file ?  Well here is the information to put it into perspective...

       Owner                                   Group                                    Public
    -------------                       ---------------                    ------------------
       r w x                                      r w x                                      r w x
        4 2 1                                     4 2 1                                     4 2 1
 
    ______                                 ______                                 ______
           |                                             |                                            |
           |                                             |                                            |  
          7                                          7                                           7

Email Us

ghostrdr@defcon1.org

This site cannot be duplicated without permission

© 1998 - 2010 Defcon1, www.defcon1.org. Copyrights for all materials on this web site are held by the individual authors, artists, photographers or creators. Materials may not be reproduced or otherwise distributed without permission of www.defcon1.org and the content's original author.