06-18-2010
Hi Guru,
But I cant predict the file creation time..
whatever files are present I need to check for all.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need a script which list the files which is starting with the word heap*** and that is created before past 24 hours.I need the script using find command. please help me on this. (1 Reply)
Discussion started by: jayaramanit
1 Replies
2. Shell Programming and Scripting
I want to list the files created before past 24 hours using ls command.
please help me on this (7 Replies)
Discussion started by: jayaramanit
7 Replies
3. Shell Programming and Scripting
Hi
I have to write a script, that will find out the lists of files in a particular directory, which are created between 30-60 min intervals. (3 Replies)
Discussion started by: velocitnitin
3 Replies
4. UNIX for Dummies Questions & Answers
which out of atime, ctime, or mtime are the closest to diplaying only the files created within the last 24 hours. is it even possible to find only the files created in the last 24 hours, because I heard that unix files don't hold the creation time as a property of the file. (3 Replies)
Discussion started by: raidkridley
3 Replies
5. Shell Programming and Scripting
Morning
My other issue I have seems very simple but im just not seeing it. I have a script that checks on a remote share to see if the backups for some systems have run. Its as simple as:
find /mnt/ukwcs-net-config/WLAN-Controllers/ -mtime -1 -ls | egrep '(cfg)' > wlanlog.txt
cut -c 1-92... (4 Replies)
Discussion started by: ltodd2
4 Replies
6. Shell Programming and Scripting
Hi There
I am trying to create a shell script (.ksh) that will be run on AIX 5300-10 to scp files from one server to another.
The only files I am interested in are the ones that were created in the last 24 hours of whenever the script was run. There are numerous other files in the source... (6 Replies)
Discussion started by: jimbojames
6 Replies
7. Shell Programming and Scripting
Hi ,
I am looking for some help in getting the list of files matching some pattern in a folder and those were created in last X hours.
Please help.
Thanks in advance. (1 Reply)
Discussion started by: Anupam_Halder
1 Replies
8. Shell Programming and Scripting
Hi ,
I need help in getting how many minutes ago the last file, matching some pattern in file name, was created in a folder.
Thanks in advance. (8 Replies)
Discussion started by: Anupam_Halder
8 Replies
9. Shell Programming and Scripting
Dear Gurus,
I want to check if file got created in less than 10 hrs in .ksh.
Here is my requirement
In $var5 : I'm storing file name
In $var4 I have stored : select to_char(sysdate,'YYYYMMDDHH:MM:SS') from dual;
If that file date time is less than 10 hrs, then I need to check
if less... (1 Reply)
Discussion started by: thummi9090
1 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I require shell script to check for any pending files which are sitting in the particular directory for more than 10 hours.
Please help me on this...Thank you. (5 Replies)
Discussion started by: kiruthiish
5 Replies
LEARN ABOUT DEBIAN
liblinear-train
LIBLINEAR-TRAIN(1) General Commands Manual LIBLINEAR-TRAIN(1)
NAME
liblinear-train - train a linear classifier and produce a model
SYNOPSIS
liblinear-train [options] training_set_file [model_file]
DESCRIPTION
liblinear-train trains a linear classifier using liblinear and produces a model suitable for use with liblinear-predict(1).
training_set_file is the file containing the data used for training. model_file is the file to which the model will be saved. If
model_file is not provided, it defaults to training_set_file.model.
To obtain good performances, sometimes one needs to scale the data. This can be done with svm-scale(1).
OPTIONS
A summary of options is included below.
-s type
Set the type of the solver:
0 ... L2-regularized logistic regression
1 ... L2-regularized L2-loss support vector classification (dual) (default)
2 ... L2-regularized L2-loss support vector classification (primal)
3 ... L2-regularized L1-loss support vector classification (dual)
4 ... multi-class support vector classification
5 ... L1-regularized L2-loss support vector classification
6 ... L1-regularized logistic regression
7 ... L2-regularized logistic regression (dual)
-c cost
Set the parameter C (default: 1)
-e epsilon
Set the tolerance of the termination criterion
For -s 0 and 2:
|f'(w)|_2 <= epsilon*min(pos,neg)/l*|f'(w0)_2, where f is
the primal function and pos/neg are the number of positive/negative data
(default: 0.01)
For -s 1, 3, 4 and 7:
Dual maximal violation <= epsilon; similar to libsvm (default: 0.1)
For -s 5 and 6:
|f'(w)|_inf <= epsilon*min(pos,neg)/l*|f'(w0)|_inf, where f is the primal
function (default: 0.01)
-B bias
If bias >= 0, then instance x becomes [x; bias]; if bias < 0, then
no bias term is added (default: -1)
-wi weight
Weight-adjusts the parameter C of class i by the value weight
-v n n-fold cross validation mode
-q Quiet mode (no outputs).
EXAMPLES
Train a linear SVM using L2-loss function:
liblinear-train data_file
Train a logistic regression model:
liblinear-train -s 0 data_file
Do five-fold cross-validation using L2-loss SVM, using a smaller stopping tolerance 0.001 instead of the default 0.1 for more accurate
solutions:
liblinear-train -v 5 -e 0.001 data_file
Train four classifiers:
positive negative Cp Cn
class 1 class 2,3,4 20 10
class 2 class 1,3,4 50 10
class 3 class 1,2,4 20 10
class 4 class 1,2,3 10 10
liblinear-train -c 10 -w1 2 -w2 5 -w3 2 four_class_data_file
If there are only two classes, we train ONE model. The C values for the two classes are 10 and 50:
liblinear-train -c 10 -w3 1 -w2 5 two_class_data_file
Output probability estimates (for logistic regression only) using liblinear-predict(1):
liblinear-predict -b 1 test_file data_file.model output_file
SEE ALSO
liblinear-predict(1), svm-predict(1), svm-train(1)
AUTHORS
liblinear-train was written by the LIBLINEAR authors at National Taiwan university for the LIBLINEAR Project.
This manual page was written by Christian Kastner <debian@kvr.at>, for the Debian project (and may be used by others).
March 08, 2011 LIBLINEAR-TRAIN(1)