how to list only files in a directory in linux code example Example: linux list files onlr ls -p | grep -v /