On Mon, Sep 08, 2003 at 07:29:57PM -0700, rad radsys wrote: > > Hi all, > > kailangan ko ang tulong nyo sa shell scripting. papaano ko gagawin sa script na > yung makikita ng find o ang ili-list lang find e yung nasa indicated path lang at > hindi ssya maghahanap sa mga subdirectoies. (non-recursive) > > Maraming salamat.
If you want to find a list of all subdirectories in your current directory, do this: % ls -F | grep / Without the trailing / on all of them: % ls -F | grep / | cut -d/ -f1 Michael -- Michael Darrin Chaney [EMAIL PROTECTED] http://www.michaelchaney.com/ -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
