Search Results

Search: Posts Made By: jjamd64
3,061
Posted By jjamd64
freebsd /usr partition filling up, but du shows low usage
I have a freebsd email server which is running out of space on /usr.

du doesn't show any large directories, but df confirms that the partition is running out of space. Is there a way to find...
14,529
Posted By jjamd64
Sorry about the lame test data, it was very...
Sorry about the lame test data, it was very generic...I didn't want to disclose email addresses of our customers. Thats probably why your end version of the script didn't provide consistent output. ...
14,529
Posted By jjamd64
OK, this is what I have for the perl script so...
OK, this is what I have for the perl script so far. I got into trouble towards the end, and it doesn't like what i'm trying to do with the variable.


#!/usr/local/bin/perl
#use strict;
use...
14,529
Posted By jjamd64
Thanks for the advice era! I was thinking...
Thanks for the advice era!

I was thinking perl would be the way to go, but you also mention python. What would be the specific advantage of using python in this situation?

I'm not very...
14,529
Posted By jjamd64
mail log parsing script in need of makeover
Dear unix forum members,

I'm working on a script that will parse a mail machine's logs and print a list of email addresses in this format:

sender@domain,recipient@domain

The logs look...
7,344
Posted By jjamd64
Displaying Output in Columns
I'm writing a script to analyze the logs of an smtp relay machine and I'd like the final output to be displayed in columns showing results from the previous day, week, month, and 45 days. The...
2,621
Posted By jjamd64
Yup, that works. I actually figured it out...
Yup, that works. I actually figured it out myself, but I did it slightly differently so I wouldn't need a separate script for the lookup:

#!/bin/sh
#--------------------------

process_domain...
2,621
Posted By jjamd64
calling lines from a file
I have a script that does domain name lookups, and I also have a file with one domain name per line. I would like to have a script that calls the domain name lookup script for each domain that is in...
3,046
Posted By jjamd64
Thanks guys! Thats very helpful, now can anyone...
Thanks guys! Thats very helpful, now can anyone tell me how I would use sed or awk to remove lines that contain a given string of text? Say for example, any lines containing the word "hello", also...
3,046
Posted By jjamd64
parsing email log
Can anyone give me some examples of how I can parse the following lines of text so that all characters up to and including the @ symbol are deleted? Also, any duplicates would need to be deleted in...
15,827
Posted By jjamd64
thanks a lot! :D
thanks a lot! :D
15,827
Posted By jjamd64
display number of subdirectories
Can anyone tell me what command would display the number of subdirectories in the current or given location?
15,241
Posted By jjamd64
OK, I have the first two parts done, the...
OK, I have the first two parts done, the following sed arguments produce the output I need, but I dont know how to insert the - symbol before the IP's. Anyone got any ideas?


#!/bin/sh
whois $1...
15,241
Posted By jjamd64
I would like to get more familiar with sed if...
I would like to get more familiar with sed if possible, but I am open to absolutely any suggestions.
15,241
Posted By jjamd64
shell script parsing with sed
#I'm quite new to scripting and my boss has asked me to solve a simple problem and sadly, I can't figure out how to do it. Any help is appreciated.
:confused:

#The following is a small shell...
Showing results 1 to 15 of 15

 
All times are GMT -4. The time now is 02:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy