Originally posted by: dukessd
ls -l | grep -i "mmm dd"
where mmm is the first three letters of the month and dd is the date, 01 - 31.
ls -l is a detailed list of the directory.
grep searches and displays the output with matching character strings.
-i tells grep not to be case sensitive (the month has an upper case first letter and the second and third are lower case).
" " specifies grep should search for a character string that matches the info between the quotes, including spaces.
so:
ls -l | grep -i "aug 01"
will display any files or directories in the current directory that were modified on the first of August.
#AIX-Forum