[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wildcard for hidden files



Chris wrote:
Hello,

How can I list all hidden files or directories with ls?

ls .* does not give the desired result. Id like to archive all the hidden files in my home folder.

Thanks,

Chris

ls -a | grep ^[.]

This will, however, still give you the . and .. directories.

--Ben



Reply to: