How to copy only specific files uploaded through FTP

Today I’m going to show you a nice way to sync only specific files from user directories to a “fast speed download” server. Basically, all my users upload resources (maps, sounds, models, etc) for a Counter Strike 1.6 Server through FTP. The issue was the fact that all these files had to be copied to …

Read more

How to pass RHCE/RHCT exam! – part 4

This post will be related to the use of grep, sed, and awk to process text streams and files.

GREP

Is a command searches a file for lines containing a match to the given strings and prints the matching lines.
It is mainly used in the following combinations:

grep 'some string'  given_file
cat given_file | grep 'some string'
command | grep 'some string'

Read more

How to pass RHCE/RHCT exam! – part 3

Today we’re going to focus on how to use standard command line tools (e.g. ls, cp, mv, rm, tail, cat, etc.) to create, remove, view, and investigate files and directories. If you are a beginner, the first thing I suggest is to check the current directory to avoid messing up things. This is simply done …

Read more