From owner-freebsd-questions Thu Dec 13 12:45:11 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-201-166.mmcable.com [65.31.201.166]) by hub.freebsd.org (Postfix) with SMTP id B992D37B419 for ; Thu, 13 Dec 2001 12:45:02 -0800 (PST) Received: (qmail 79511 invoked by uid 100); 13 Dec 2001 20:44:57 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15385.4936.899980.53067@guru.mired.org> Date: Thu, 13 Dec 2001 14:44:56 -0600 To: "Johan (natkejs)" Cc: questions@freebsd.org Subject: Re: filesystem output In-Reply-To: <100358704@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Delivery-Agent: TMDA v0.42/Python 2.1.1 (freebsd4) From: "Mike Meyer" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Johan (natkejs) types: > Hey, > > Is there any way to change the default filesystem output, that would be in > what order the output is done when requested about a scripting language > such as PHP. > > On windows it's returned by first letter unless other specified. > > But in freeBSD it seems to be returned sorted by creation/modification ... > can I change this in freeBSD so the directory listing output will default > to being sorted by file/folder namn? Exactly what tool are you using to list the directory? The default tool - ls - sorts them by name unless I tell it to do something different. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message