10-21-2008
Let me try to separate each command for you
find $1 -type f -size +$2k -print
at this line $1 and $2 work as a parsing variable that usually work when you make application and run it from unix using ./(app_name) (parameter).
find $1 : you must fill $1 with path, exp: /user or . (for current dir) or /home
-type f : means the type that your looking was a file
-size +$2k :fill $2 with number exp: 1,2,3 that remark size of file your looking for +2K means search for file bigger than 2 KB
-print : show the result on the screen
good luck, keep on UNIX
![Big Grin Smilie](https://www.unix.com/images/smilies/biggrin.gif)
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone,
Can anyone guide me on how to search through a huge file and look on specific column and if it finds a discrepancy on that column that does not conform to the specified criteria,
ie
(1) Numeric and (3) alpha chars F123 or G333..etc, etc!
then idientify it and redirect... (3 Replies)
Discussion started by: Gerry405
3 Replies
2. Shell Programming and Scripting
Hi All,
I want to find a specific pattern from approximately 400000 files on solaris platform. Its very heavy for me to grep that pattern to each file individually.
Can anybody suggest me some way to search for specific pattern (alpha numeric) from these forty thousand files. Please note that... (6 Replies)
Discussion started by: aarora_98
6 Replies
3. Shell Programming and Scripting
Hi,
I have a challenging task,in which i have to find the duplicate files by its name and size,then i need to take anyone of the file.Then i need to open the file and find for more than one pattern and count of that pattern.
Note:These are the samples of two files,but i can have more... (2 Replies)
Discussion started by: jerome Sukumar
2 Replies
4. Shell Programming and Scripting
Hi
experts
problem:
i have a directory "DATA" with lots of subdirectories named as date with hudge data containning files.
Directory = "DATA"
subdirectory = "20090611" & "20090612" ......
20090611 = thousands of files
i wanna apply find command to find all files in... (3 Replies)
Discussion started by: The_Archer
3 Replies
5. Shell Programming and Scripting
Hi,
I am trying to develop a script which should find a word if a particular word exists.
Below is the content of the file.
insert_job: test_job ----> job name
days_of_week: all
start_times: "16:00"
date_conditions: 1
insert_job: test_job2 ----> job name
days_of_week: all... (16 Replies)
Discussion started by: rpatty
16 Replies
6. Shell Programming and Scripting
Hi all,
I am having multiple files with the pattern given below:
I need to find the minimum value of 5th column if column 1 is x and 2nd column is awh or vbn or ... (20 different strings).
the output must be like:
Kindly help me to figure out this prob....
Thanks in... (4 Replies)
Discussion started by: CAch
4 Replies
7. Shell Programming and Scripting
Hi All,
Thanks in advance
File is generated with following format
31000000.xml to 48999999.xml
74000000.xml to 88999999.xml
Above range should be find and moved into the folder named abc
and below is another range should should be find and moved into folder named xyz
... (1 Reply)
Discussion started by: sujit_kashyap
1 Replies
8. Shell Programming and Scripting
Hi All,
I am trying to find 4 latest files inside one folder having following File Name pattern and store them into 4 different variables and then use for processing in my shell script. File name is fixed length.
1) Each file starts with = ABCJmdmfbsjop letters + 7 Digit Number... (6 Replies)
Discussion started by: lancesunny
6 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I am using AIX and one of my file systems is getting filled up and I need to track with files are occupying more volume.
Filesystem GB blocks Free %Used Iused %Iused Mounted on
/dev/nhdb_lv 2110.00 63.80 97% 76525 1% /nhdb
under the Mount Point /nhdb... (1 Reply)
Discussion started by: zulfi123786
1 Replies
10. Shell Programming and Scripting
i am using sed to detect any lines that are not exactly 21. the following gives me the lines that ARE exactly 21. i want the opposite , i want the two lines that are not size 21 (shown in bold)
type a.a
000008050110010201NNN
000008060810010201NNN
21212000008070110010201NNN... (5 Replies)
Discussion started by: boncuk
5 Replies
LEARN ABOUT OPENSOLARIS
webmin
webmin(1m) webmin(1m)
NAME
webmin - A httpd based system administration tool.
DESCRIPTION
webmin(1m) consists of a main server daemon, CGI and PERL files to perform the operations, and configuration files to manage site-specific
information.
FILES
The following files specify the installation locations for webmin:
/etc/webmin
Contains server and module configuration files.
A newly-installed or upgraded server must be configured before use. This is handled by the webminsetup(1m) script. A running
server can be reconfigured through the web interface. Configuration files should not be modified directly.
/var/webmin
Default location for the webmin log files
SECURITY
webmin(1m) uses pam(3PAM) with the service name webmin for authentication and account management.
FAULT MANAGEMENT RESOURCE IDENTIFIER
svc:/application/management/webmin:default
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Availability | SUNWwebminr, |
| | SUNWwebminu |
+--------------------+-----------------+
|Interface Stability | External |
+--------------------+-----------------+
SEE ALSO
webminsetup(1m), attributes(5)
http://www.webmin.com
NOTES
In addition to the documentation and man pages included with Solaris, more information is available at
http://www.webmin.com
30 Oct 2004 webmin(1m)