Subscribe to How-To Geek

List Only the Hidden Files in a Directory

From HowToGeek

Jump to: navigation, search

Sometimes you want to only see the hidden files in a directory, and this command makes it easy.

ls -a | egrep "^\."

You can then alias the command so you can easily re-use it anytime:

alias lsh='ls -a | egrep "^\."'


 

Our Friends
Getting Started
About How-To Geek
What Is That Process?
svchost.exe
jusched.exe
dwm.exe
ctfmon.exe
wmpnetwk.exe
wmpnscfg.exe
rundll32.exe
wfcrun32.exe
Ipoint.exe
Itype.exe
Wfica32.exe
Mobsync.exe
Cmd.exe
Dpupdchk.exe Adobe_Updater.exe

All content on the How-To Geek Wiki is licensed under a Creative Commons License