Category: Miscellaneous

Log Messages with specific prefix to a separate file

Log Messages with specific prefix to a separate file

With rsyslog you can log messages with specific prefix to a separate file. For example, if you wanted to put iptables log into a separate log file, with the syslog you have to live...

Printing Content past a specific string From a file

Printing Content past a specific string From a file

t“tac” could be a great tool when you need to read something from backwards.  You can read a file from backward, and find the first occurrence of a string of your interest and print...

Centos Net Install URLs

Centos Net Install URLs

Here are the Net Install URLs for Centos If you want to use the Net Install Disc for installation : Centos 5.x : Website Name : mirror.centos.org Centos Directory: /centos/5.x/os/i386 Centos 6.x : URL-...

Apache Rewrite Cheat Sheet

Apache Rewrite Cheat Sheet

Regular Expression Syntax  ^ Start of string $ End of string . Any single character (a|b) a or b (…) Group section [abc] Item in range (a or b or c) [^abc] Not in...

FFMPEG Commands tips and tricks.

FFMPEG Commands tips and tricks.

Getting Information from a file : ffmpeg -i filename.ext Turn images to a video sequence: ffmpeg -f image2 -i image%d.jpg video.mpg ( converts images labeled 1,2,3 into a video) Turn video to images: ffmpeg...