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

Post a Comment

Oops!

Oops, you forgot something.

Oops!

The words you entered did not match the given text. Please try again.

Already a member? Sign In

0 Comments