#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2011
    Posts
    62
    Rep Power
    80

    Ls -f (just curious)


    I'm just curious what's the significants of the order the files get listed in when you use the -f option with ls?

    (I know the manual says this option means "do not sort" but the files are listed in some order.)
  2. #2
  3. Come play with me!
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    13,749
    Rep Power
    9397
    The list of files is stored on the hard drive somewhere (after all, somebody has to know what's inside a directory). -f means ls won't sort that list. For all intents and purposes the files are in an arbitrary and random order.

IMN logo majestic logo threadwatch logo seochat tools logo