Here are three ways I've thought about showing hiden files in a current directory:
find -maxdepth 1 -type f -iname '.*'
ls -adF .* | grep -v '/'
for i in .*;do if [ -f $i ];then echo $i;fi;done
Categories: Informática, Linux/Darwin