regular expression

Postfix Flush the Mail Queue

by Vivek Gite on October 25, 2007 · 20 comments

Describes how to flush email queue from a shell prompt under UNIX / Linux operating system.

{ 20 comments }

Lighttpd restrict or deny access by IP address

by Vivek Gite on December 12, 2006 · 13 comments

So how do you restrict or deny access by IP address using Lighttpd web server? Lighttpd has mod_access module. The access module is used to deny access to files with given trailing path names. You need to combine this with remoteip conditional configuration. Syntax is as follows: $HTTP["remoteip"] == “IP” : Match on the remote [...]

{ 13 comments }

How do I rename multiple files at a shell prompt under Linux or UNIX operating systems?

{ 75 comments }

The replace command is a string-replacement utility. It changes strings in place in files or on the standard input. This command uses a finite state machine to match longer strings first. It can be used to swap strings. This command is similar to the Perl -pie syntax or sed (stream editor) command.

{ 16 comments }