Ok, This sounds simple, but it's escaped me thus far. When I use the command:
I get the following output:
Code:
cron.deny crontab
cron.d:
sa-update
cron.daily:
000-delay.cron beagle-crawl-system makewhatis.cron rpm
0anacron cups mlocate.cron tmpwatch
0logwatch logrotate prelink
cron.hourly:
cron.monthly:
000-delay.cron 0anacron
cron.weekly:
000-delay.cron 0anacron makewhatis.cron
It seems to me that ls is recursing, when all I want is the list of files/directories in the current path.
I have to use the following command:
to get the results I want:
Code:
anacrontab
cron.d
cron.daily
cron.deny
cron.hourly
cron.monthly
crontab
cron.weekly
Is there a proper switch for ls that will give it to me?
Thanks.