Fran's site and blog

Blog

Three ways of showing hidden files of the current directory

Posted by lapaginadefran on April 11, 2013 at 6:55 PM

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


Comments are disabled.