Zimmy-DUB-Zongy-Zong-DUBBY
  • Member for 12 years, 6 months
  • Last seen more than 11 years ago
Shell command to find the newest created files recursively from a root directory?
Accepted answer
10 votes

find /mydir -type f -exec stat -c '%y %N' {} \; | sort -n

View answer
What do I need to know when burying some wire?
5 votes

Be smart, call your local utility providers. http://www.energyindustryphotos.com/pipeline_blowout_photos_and_natu.htm alt text http://www.energyindustryphotos.com/natural%20gas%20pipeline%20fire.jpg

View answer
Checking Perl version in Apache2
Accepted answer
5 votes

perldoc perlvar $^V contains the version. perl -le 'print $^V'

View answer
What is the easiest to install and maintain email server?
4 votes

I use Exim. In terms of configurability, I find it to be the most straightforward. Anything but Sendmail, really. Exim having built-in Perl is a HUGE plus in my opinion.

View answer
How do I find out what is using up all the space on my / partition?
4 votes

Always use the -x option with du when you are chasing problems like this. It keeps du from crossing filesystems.

View answer
Apache map port to url
4 votes

Use an HTTP proxy that listens on port 3000. If you try to use the rewriter, it will force a client-side redirect, which will not be what you are after.

View answer
What are the best practices for a safe MX server migration?
2 votes

When changing IPs, I am a BIG fan of running a simple TCP proxy on the old machine for at least a few days. This allows you to get away with stale DNS records around the internet during the switchover....

View answer
Looking for FTP server recommendations for BSD
2 votes

Proftpd. Apache-style config, and it uses sendfile() so transfers use just about zero cpu. Better: Don't use FTP at all.

View answer
Perl 5.10 logon/logout scripts
2 votes

I disagree with some of the other posts. I have never had a problem with Perl on Windows. If there are Linux/UNIX machines in the same environment, many scripts can be run as-is on both. Also, the ...

View answer
Chop headers off of vmstat command?
2 votes

while sleep 1 ; do echo `date '+%Y%m%d.%H%M%S'` `vmstat | head -3 | tail -1` ; done

View answer
Hosting providers limiting the password length or allowed characters
1 votes

Wrt to "server error on some chars", I read that and think "SQL Injection".

View answer
ISapi Rewrite to allow Apache & IIS to run together
1 votes

If you rewrite outside of the host, e.g. http://x/ -> http://x:999/, you are asking the client to redirect, which means it will show up on the client side. You need a proxy server to do this. Try ...

View answer
What annual or quarterly maintenance do you do on your Linux Servers?
1 votes

Nothing. All scheduled maintenance is done monthly at the most, if not weekly or daily. We are in the server room often enough that they get dusted and cleaned more often than yearly or quarterly ...

View answer
LDA for Exim+SA
1 votes

I came up with the following to send spam to a maildir called "Junk" for each domain. mysql_delivery: driver = appendfile maildir_format directory = "${if and { {def:h_X-Spam-Flag:} {eq {$...

View answer
Cost saving measures from an IT perspective
0 votes

Our company has recently (very recently) got into virtualization as a way of saving money on hardware. If you have 7 services that only need 5 machines, why pay for 7?

View answer
Multiple Developers, One Apache (with mod_perl)
0 votes

I don't think it can be done. mod_perl is an integral part of the apache process. You will probably need to setup two separate httpds. It may be best to separate them for development purposes anyways....

View answer
I'm designing a system to handle 10000 TCP connections per second, what problems will I run into?
0 votes

I would use UDP instead of TCP if possible. It should be more lightweight and therefore scale better.

View answer
How to forward range of ports in FreeBSD
0 votes

With PF, you could do it with variables. myports = "{ 22 25 2022 2222 8000 }" rdr on $ext_if proto udp from any to $ext_if port $myports -> 192.168.1.7 ...or something.

View answer
Nice rsync on remote machine
0 votes

Rsync should not be using much CPU. I doubt that you can force a certain niceness from the other end, but what you could do is limit the bandwidth that rsync is using with a firewall, which would ...

View answer
How can I audit a file to see who deleted it?
-3 votes

I would start with an internal audit of the company. Someone on your staff may be deleting the file, and perhaps causing other harm that you have not yet discovered. Question everyone that has access ...

View answer