I\'m using the find command in a ksh script, and I\'m trying to retrieve just the filenames, rather than the full path. As in, I want it to return text.exe, not //severname/
Here's another answer.
find | awk -F/ '{print $NF}'