ls command

Hello again,

is there any way i can use ls to display ONLY the executable files of a directory?

thx again :slight_smile:

ls -l | egrep "(^-..x)|(^-.....x)|(^-........x)"

Seems like a home work

if i use ls ** what happens? :stuck_out_tongue:

---------- Post updated at 03:18 PM ---------- Previous update was at 02:54 PM ----------

any1 knows? :confused:

why dont you try and let us know.. what happened ?

It checked for the location of the executable flag when doing

ls -l