Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can use awk the following way:

ls -all my_directory/* | awk '{print $9}'

This will only print the filename.