[Linuxcommand-discuss] finding hidden files
Brought to you by:
bshotts
|
From: Steve S. <st...@th...> - 2002-09-08 17:27:38
|
Greetings all! I am new to the list so I apologize if this question is = out of place because it is too basic. I am taking a class at college on = Linux. We are completing a lab, and one of the questions was to = determine how many hidden files there are in the /etc directory. I = found the answer using: ls -a =20 I am just wondering if there is a way to just display the hidden files. = I tried using:=20 ls -a | grep .* but it seemed to ignore the . and just display everything. I tried = several other things as well, but everything seemed to just ignore the = ".". So, does anyone know a way to just display the hidden files in the = /etc directory? Thanks for the help. Steve |