|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
Hidden files
How to list out only the hidden files from a directory ?
Thanks |
| Sponsored Links | ||
|
|
#2
|
||||
|
||||
|
Try this: Code:
ls -al | grep -e '[0-9] \..*$' |
| Sponsored Links | ||
|
|
#4
|
||||
|
||||
|
Code:
ls -a | grep "^\."
Last edited by vbe; 07-02-2012 at 09:03 AM.. |
| Sponsored Links | |
|
|
#5
|
|||
|
|||
|
you could also try: Code:
ls -la | cat -vet this will let you see any files containing special characters or named with just a special character that isn't normally displayed |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| hidden files | lhareigh890 | UNIX for Dummies Questions & Answers | 10 | 01-13-2011 09:49 PM |
| how to display only hidden files | useless79 | Shell Programming and Scripting | 7 | 11-12-2008 04:50 AM |
| Toggle Hidden Files Mac OS X | Omniwheel | Shell Programming and Scripting | 0 | 07-07-2008 11:35 PM |
| Hidden Files in Linux | Arun.Kakarla | UNIX for Dummies Questions & Answers | 3 | 07-05-2008 04:45 PM |
| Finding Hidden files and protecting the folder containing hidden files from deletion | pochaw | Shell Programming and Scripting | 4 | 12-22-2007 12:33 AM |
|
|