shell> ls -l /etc | grep
^d
drwxr-xr-x 4 root
root 4096 Mar 8 2002
alchemist
drwxr-xr-x 2 root root 4096 Mar 8 2002 cipe
drwxr-xr-x 2 root root 4096 Mar 8 2002 cron.d
drwxr-xr-x 2 root root 4096 Mar 8 2002 cron.daily
drwxr-xr-x 2 root root 4096 Jul 20 2001 cron.hourly
drwxr-xr-x 2 root root 4096 Mar 8 2002 cron.monthly
drwxr-xr-x 2 root root 4096 Mar 8 2002 cron.weekly
还可以用: ls -lF /etc | grep /$ 也是同样的效果!
drwxr-xr-x 2 root root 4096 Mar 8 2002 cipe
drwxr-xr-x 2 root root 4096 Mar 8 2002 cron.d
drwxr-xr-x 2 root root 4096 Mar 8 2002 cron.daily
drwxr-xr-x 2 root root 4096 Jul 20 2001 cron.hourly
drwxr-xr-x 2 root root 4096 Mar 8 2002 cron.monthly
drwxr-xr-x 2 root root 4096 Mar 8 2002 cron.weekly
还可以用: ls -lF /etc | grep /$ 也是同样的效果!