Quote:
Originally posted by m0rl0ck
What about just:
ls -a|grep -v "/"
|
But "." and ".." will also be displayed which are directories....
I suppose this would do it fo you
ls -l | grep -v "^d" | awk '{print $9}'
or if you want to eliminate even links n other stuff and want only
regular files....
then this should do it for you
ls -l | grep "^-" | awk '{print $9}'