On 21Aug2009 05:17, ann kok <oiyankok@xxxxxxxx> wrote: | ls -1 but I only want the file to list not directory Please don't top-post. PLease BELOW and TRIM the quoted material for context, as I have done. Have you tried: ls -l | grep '^-' Cheers, -- Cameron Simpson <cs@xxxxxxxxxx> DoD#743 http://www.cskk.ezoshosting.com/cs/ War doesn't prove who's right, only who's left. - BDD Games' Fortune -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines