11-10-2009
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi all,
i would like to write the shell script to remove the out-dated log
my log file name will be like this:
access_20050101.log
access_20050102.log
.
.
.
access_20071007.log
access_20071008.log
access_20071009.log
i has try to write the command as following, it will be remove the... (2 Replies)
Discussion started by: eric_wong_ch
2 Replies
2. Solaris
HI
I HAVE LOG FILES IN THIS FORMAT
XXX.log.20080509215745
XXX.log.20080209205745
XXX.log.20080301785745
XXX.log.20080109155745
XXX.log.20080409115745
XXX.log.20080309105745
I NEED TO FIND THE FILES FROM 3 MONTHS OLD AND REMOVE
PLEASE HELP
THANKS, (13 Replies)
Discussion started by: cvdev
13 Replies
3. Solaris
Hi
I Need To Remove Logs Older Than April 1 St(4/1/2007) By Date
I Have A Script To Remove 3 Months Old Like Using 90 Days
Thanks (3 Replies)
Discussion started by: cvdev
3 Replies
4. UNIX for Dummies Questions & Answers
rm: Unable to remove directory /mnt/users/test/logs/: File exists
ls -latr
total 191208
drwxrwxrwx 6 test echo 4096 Jul 3 22:36 ..
-rwxrwxrwx 1 test echo 97692804 Jul 3 22:36 .nfsDFA4
drwxrwxr-x 2 test echo 4096 Jul 3 23:00 .
M not able to delete... (4 Replies)
Discussion started by: solitare123
4 Replies
5. UNIX for Dummies Questions & Answers
hi friends,
how do i modify the "find" command to search for large files with *.log extension along with a mtime parameter for files that are 30days, 1yr, 2yr old .
please help my dear friends,
thanks in advance (2 Replies)
Discussion started by: cromohawk
2 Replies
6. Shell Programming and Scripting
Hi,
I am using the below command to find out the mail logs which will grep the repeated message ids:
less /var/log/messages |awk '{print +$6}'| sort | uniq -c | sort -nr
OUTPUT:
506 1246382279
404 1246373467
303 1246383457
303 1246382268
300 1246379705
202... (7 Replies)
Discussion started by: gsiva
7 Replies
7. Shell Programming and Scripting
I have a ksh script that currently moves a day's worth of log files (about 15,000) files to a different directory. The issue is that about 100 of these files are still open for write when this happens. I need an efficient way to ensure that these files aren't open without doing an lsof on each... (7 Replies)
Discussion started by: nestafaria
7 Replies
8. Shell Programming and Scripting
All,
How to remove the logs that are more than 5 days old from a particular folder.
Help will be highly appreciated.
Regards
Oracle User (2 Replies)
Discussion started by: Oracle_User
2 Replies
9. Shell Programming and Scripting
Suppose there are log entries like
16 Jul 2012 11:46:45,628 SendToClientService ExecuteThread: '256' for queue: 'weblogic.kernel.Default (self-tuning)': Received an unknown fault.
16 Jul 2012 11:47:45,650 SendToClientService ExecuteThread: '256' for queue: 'weblogic.kernel.Default... (4 Replies)
Discussion started by: snehasish_jana
4 Replies
10. UNIX for Dummies Questions & Answers
from time to time, I received an alert, let's call it "alert_name"but in order to run the script that loads the missing data, I need to check firs if the logs have been zipped out, how can I do this? I Know:
1.- Name of the alert.
2.- Server where it runs. (4 Replies)
Discussion started by: JLo5621
4 Replies
LEARN ABOUT DEBIAN
dircproxy-crypt
dircproxy-crypt(1) General Commands Manual dircproxy-crypt(1)
NAME
dircproxy-crypt - Generate encrypted password for dircproxy
SYNOPSIS
dircproxy-crypt [-hv] [password]...
DESCRIPTION
dircproxy-crypt generates encrypted passwords for the dircproxy(1) configuration file. These passwords are used in the 'password' configu-
ration option of a connection class, and are compared to the password you configure your IRC client to use.
If you do not supply any plain text passwords to encrypt on the command line then dircproxy-crypt, when run, will ask you for one on stan-
dard input. It will display the encrypted version of each password, created using your system's crypt(3) function and a random salt, on
standard output.
OPTIONS
-h Displays a brief help message detailing the command-line arguments, then exits.
-v Displays the dircproxy version number that this version of dircproxy-crypt comes with, then exits.
SEE ALSO
dircproxy(1) crypt(3)
BUGS
Please submit and review bug reports at:
http://bugzilla.dircproxy.net/
AUTHOR
Written by Scott James Remnant <scott@netsplit.com>.
COPYRIGHT
Copyright (C) 2002 Scott James Remnant. All Rights Reserved. dircproxy is distributed under the GNU General Public License.
11 Jan 2001 dircproxy-crypt(1)