I did not find a straight forward way to do it.
Here is my hack:
ls -1 -dp item* | grep -v “/”
Archive for the ‘unix’ Category
Unix: Displaying only files not directories
Posted in hacking, unix on July 20, 2006 | Leave a Comment »
Posted in hacking, unix on July 20, 2006 | Leave a Comment »
I did not find a straight forward way to do it.
Here is my hack:
ls -1 -dp item* | grep -v “/”