Sysadmins of the North

Technical blog, where topics include: computer, server, web, sysadmin, MySQL, database, virtualization, optimization and security

Category: GNU Linux (page 2 of 2)

Bash: Grep through a large number of files – argument list too long

The other day I was searching for a particular email file in an Maildir on one of our mail servers. Knowing only the From address, I thought I’d use grep. Unfortunately it failed and gave me an error: /bin/grep: Argument list too long. Here is how to overcome this grep error…

Continue reading

Linux Ramdisk mini-HOWTO

I just found this nifty Linux RAM disk mini-howto, created by Van Emery. Might be fun to try sometime.

Continue reading

Installing Debian GNU/Linux 7.0 (Wheezy) on HP EliteBook 8570w

I was FedUp with Fedora Core 17/18 after a day, so I decided to return to my old love: Debian GNU/Linux. It’s been a couple of years, but I’m happy to be back! Just run the netinst installer which will take care of the most.

Continue reading

Check IP address blacklist status in Bash

Here is a Linux Bash shell script to check whether an IP address is listed in a DNSBL blacklist, or RBL. This is a modified version of a by J65nko posted Bash script to check an IP address reputation status in several blacklists. I’ve added HttpBl as backlist and an API key is required for this list. Using this script in Bash you can quickly test if an IP address is blacklisted.

Continue reading

Newer posts »
vCsonEuWRdkGEqZ kKTMe ZVtW