10-06-2004
At the command prompt, type
man find
You will receive the manual page for the find command, which will search for files based on the criteria you specify. Read it. It will show you how to use the command. You can then redirect this output to a file. You can type "man sh" or "man bash" or "man ksh" or "man my_shell_here" to find out all about redirection.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Im on HP/UX and am trying to find the command like an ll but that will sort showing the most currently modified programs first.
Can anyone help me with that? :cool: (2 Replies)
Discussion started by: Jeannine
2 Replies
2. Solaris
Hi all,
thanks in advance for reading and anyposts...
I was wondering if its possible to find all files in a directory with a specific date.
I know I can do:
but that will only give a list of files greater than todays date... Any ideas?
Thanks,
Marky Mark... (4 Replies)
Discussion started by: B14speedfreak
4 Replies
3. Solaris
Can you please let me know the command to list the files that are created before some date, this we want to use for the following
Eg: Move all the files that got created before 2006 to new folder in Solaris (3 Replies)
Discussion started by: csreenivas
3 Replies
4. UNIX for Dummies Questions & Answers
Hello Mates! I'm kinda new to unix and need to a solve a problem.
Input: date
Situation: With the given date I need to find a list of all such files starting from a given path that were modified after the given date.
I experimented with the "find" with "-newer" but did not quite get it... (4 Replies)
Discussion started by: rkka
4 Replies
5. UNIX for Dummies Questions & Answers
Hi,
the command "ls -l" gives the list of files of a directory with details such as date and size.
Is there a way to restrict this list to see only files created on a given date? Suppose I want to list only the files created today, what is the command to type?
Thanks (3 Replies)
Discussion started by: vanagreg
3 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
I have a pecular issue in sorting these files (not an ls -lrt) in Solaris environment.
All the below files are modified on November 4th, but I want to sort these files as per date (eg: 01May07_1623 = ddmmmyy_hhmm)
Nov 4 18:27 SONYELEC00.GI22973.01May07_1623.gpg
Nov 4 18:27... (10 Replies)
Discussion started by: shivaastrogun
10 Replies
7. UNIX for Advanced & Expert Users
i want to list only the particular date file only in the folder. (1 Reply)
Discussion started by: kingganesh04
1 Replies
8. Shell Programming and Scripting
hi. I need help my programing friends :p
I need to list all the files with a certain name (for example FileName) by last modification date but only the one with the last date. If there are two files with the same name and same modification date it should print the both.
For example in this set... (6 Replies)
Discussion started by: KitFisto
6 Replies
9. Shell Programming and Scripting
Hi all,
I am using the below script which display the files in the folder with the date range we specify. I want to add extra functionality that,
The listing files should be zipped using gzip. I tried to add exec gzip at the last line but it is not working.
Suggestions please.
... (2 Replies)
Discussion started by: nokiak810
2 Replies
10. Shell Programming and Scripting
Hi All,
I need to find all files other than first two files dates & last file date for month and month/year wise list.
lets say there are following files in directory
Mar 19 2012 c.txt
Mar 19 2012 cc.txt
Mar 21 2012 d.txt
Mar 22 2012 f.txt
Mar 24 2012 h.txt
Mar 25 2012 w.txt
Feb 12... (2 Replies)
Discussion started by: Makarand Dodmis
2 Replies
Commands Reference, Volume 1, a - c
apropos_Command
Purpose
Locates commands by keyword lookup.
Syntax
apropos [ -M PathName ] Keyword ...
Description
The apropos command shows the manual sections that contain any
of the
keywords specified by the Keyword parameter in their title.
The apropos
command considers each word separately and does not take into
account if a
letter is in uppercase or lowercase. Words that are part of
other words
are also displayed. For example, when looking for the word
compile, the
apropos command also finds all instances of the word compiler.
The
database containing the keywords is /usr/share/man/whatis,
which must
first be generated with the catman -w command.
If the output of the apropos command begins with a name and
section
number, you can enter man Section Title. For example, if the
output of the
apropos command is printf(3), you can enter man 3 printf to
obtain the
manual page on the printf subroutine.
The apropos command is equivalent to using the man command
with the -k
option.
Note: When the /usr/share/man/whatis database is built from
the HTML
library using the catman -w command, section 3 is equivalent
to section
2 or 3. See the man command for further explanation of sec-
tions.
Flag
Specifies an alternative search path. The search
path is
-M PathName specified by the PathName parameter, and is a
colon-separated
list of directories.
Examples
1. To find the manual sections that contain the word password
in their
titles, enter:
apropos password
2. To find the manual sections that contain the word editor
in their
titles, enter:
apropos editor
File
/usr/share/man/whatis Contains the whatis data-
base.
Related Information
The catman command, man command, whatis command.
________________________________________________________________________________
Commands Reference, Volume 1, a - c
apropos_Command
Purpose
Locates commands by keyword lookup.
Syntax
apropos [ -M PathName ] Keyword ...
Description
The apropos command shows the manual sections that contain any
of the
keywords specified by the Keyword parameter in their title.
The apropos
command considers each word separately and does not take into
account if a
letter is in uppercase or lowercase. Words that are part of
other words
are also displayed. For example, when looking for the word
compile, the
apropos command also finds all instances of the word compiler.
The
database containing the keywords is /usr/share/man/whatis,
which must
first be generated with the catman -w command.
If the output of the apropos command begins with a name and
section
number, you can enter man Section Title. For example, if the
output of the
apropos command is printf(3), you can enter man 3 printf to
obtain the
manual page on the printf subroutine.
The apropos command is equivalent to using the man command
with the -k
option.
Note: When the /usr/share/man/whatis database is built from
the HTML
library using the catman -w command, section 3 is equivalent
to section
2 or 3. See the man command for further explanation of sec-
tions.
Flag
Specifies an alternative search path. The search
path is
-M PathName specified by the PathName parameter, and is a
colon-separated
list of directories.
Examples
1. To find the manual sections that contain the word password
in their
titles, enter:
apropos password
2. To find the manual sections that contain the word editor
in their
titles, enter:
apropos editor
File
/usr/share/man/whatis Contains the whatis data-
base.
Related Information
The catman command, man command, whatis command.