regular expression

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

{ 30 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 […]

{ 14 comments }

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

{ 119 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.

{ 21 comments }