How do I exclude directories when listing files in the current directory?
ls .
^ will include directories in the listing.
lsshellUbuntu
How do I exclude directories when listing files in the current directory?
ls .
^ will include directories in the listing.
Best Answer
Try this one: