list files but not directory
Cameron Simpson
cs at zip.com.au
Sun Aug 23 21:59:59 UTC 2009
On 21Aug2009 05:17, ann kok <oiyankok at yahoo.ca> 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 at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/
War doesn't prove who's right, only who's left. - BDD Games' Fortune
More information about the fedora-list
mailing list