our/cmds/ls

5 lines
93 B
Bash
Executable File

#!/bin/sh
DIR=$(dirname -- $0)
find $DIR/* -maxdepth 1 -perm -111 -type f -printf "%f "
echo