06-24-2014
Sorry for what i posted. I wanted to learn unix in a good way. with good knowledge in it. Right now i am just 2 weeks old in unix trying find a good way of learning and ended up here. Sorry for this post. but i am eager to learn Unix.
7 More Discussions You Might Find Interesting
1. Programming
Hi All
I am reading a huge file of size 2GB atleast. I am reading each line and cutting certain columns and writing it to another file.
Here is the logic.
int main()
{
string u_line;
string Char_List;
string u_file;
int line_pos;
string temp_form_u_file;
... (10 Replies)
Discussion started by: dhanamurthy
10 Replies
2. Shell Programming and Scripting
Hi All,
I have written a script which does some editing in the files, based on user input.This might not be the most elegant way of doing it and there would be many improvements needed.
Please go through it and let me know how it could be improved.
Suggestions are welcome!!
Thanks!... (2 Replies)
Discussion started by: nua7
2 Replies
3. Shell Programming and Scripting
Hi!
Thank you for the help yesterday
This is the finished product
There is one more thing I would like to do to it but I’m not to certain
On how to proceed I would like to log all output to a log in order to
Be able to roll back
This script is meant to be used in repairing a... (4 Replies)
Discussion started by: Ex-Capsa
4 Replies
4. Shell Programming and Scripting
I write reports daily to a directory that is named with the month and year. I wanted to compress all but the last two months worth of these directories to save space. I am going to cron a job to run on the first of each month to do this clean up. I didn't have zip/unzip on my AIX environment so... (0 Replies)
Discussion started by: slatoms
0 Replies
5. UNIX for Advanced & Expert Users
can anyone help to share the knowledge on linux os improvement?
1) os account
- use window AD authentication, such as ldap, but how to set /etc/passwd, where to put user home?
2) user account activity
- how to log os user activity
share the idea and what tools can do that...thx (5 Replies)
Discussion started by: goodbid
5 Replies
6. Shell Programming and Scripting
Hi All,
Here is my script
#! /bin/sh
var1=some email id
var2=some email id
grep -i "FAILED FILE FORMAT VALIDATION" /opt >tmp2
diff tmp1 tmp2 | grep ">" >tmp3
if
then
cat tmp3 | mailx -s " Error Monitoring" $var2
else
echo "Pattern NOt Found" | mailx -s " Error Monitoring" $var1... (1 Reply)
Discussion started by: Gopalak
1 Replies
7. Shell Programming and Scripting
Below script is used to search numeric data from around 400 files in a folder. I have 300 such folders. Need help in performance improvement in the script.
Below Script searches 20 such folders ( 300 files in each folder) simultaneously. This increases cpu utilization upto 90% What changes... (3 Replies)
Discussion started by: vegasluxor
3 Replies
LEARN ABOUT DEBIAN
mail::spamassassin::plugin::autolearnthreshold
Mail::SpamAssassin::Plugin::AutoLearnThreshold(3pm) User Contributed Perl Documentation Mail::SpamAssassin::Plugin::AutoLearnThreshold(3pm)
NAME
Mail::SpamAssassin::Plugin::AutoLearnThreshold - threshold-based discriminator for Bayes auto-learning
SYNOPSIS
loadplugin Mail::SpamAssassin::Plugin::AutoLearnThreshold
DESCRIPTION
This plugin implements the threshold-based auto-learning discriminator for SpamAssassin's Bayes subsystem. Auto-learning is a mechanism
whereby high-scoring mails (or low-scoring mails, for non-spam) are fed into its learning systems without user intervention, during
scanning.
Note that certain tests are ignored when determining whether a message should be trained upon:
o rules with tflags set to 'learn' (the Bayesian rules)
o rules with tflags set to 'userconf' (user configuration)
o rules with tflags set to 'noautolearn'
Also note that auto-learning occurs using scores from either scoreset 0 or 1, depending on what scoreset is used during message check. It
is likely that the message check and auto-learn scores will be different.
USER OPTIONS
The following configuration settings are used to control auto-learning:
bayes_auto_learn_threshold_nonspam n.nn (default: 0.1)
The score threshold below which a mail has to score, to be fed into SpamAssassin's learning systems automatically as a non-spam
message.
bayes_auto_learn_threshold_spam n.nn (default: 12.0)
The score threshold above which a mail has to score, to be fed into SpamAssassin's learning systems automatically as a spam message.
Note: SpamAssassin requires at least 3 points from the header, and 3 points from the body to auto-learn as spam. Therefore, the
minimum working value for this option is 6.
bayes_auto_learn_on_error (0 | 1) (default: 0)
With "bayes_auto_learn_on_error" off, autolearning will be performed even if bayes classifier already agrees with the new
classification (i.e. yielded BAYES_00 for what we are now trying to teach it as ham, or yielded BAYES_99 for spam). This is a
traditional setting, the default was chosen to retain backwards compatibility.
With "bayes_auto_learn_on_error" turned on, autolearning will be performed only when a bayes classifier had a different opinion from
what the autolearner is now trying to teach it (i.e. it made an error in judgement). This strategy may or may not produce better future
classifications, but usually works very well, while also preventing unnecessary overlearning and slows down database growth.
perl v5.14.2 2011-06-06 Mail::SpamAssassin::Plugin::AutoLearnThreshold(3pm)