This is the first chapter on BASH programming. So, why should you learn bash programming? Shouldn't you learn a language that allows you to use and build upon these powerful time-saving constructs you already know how to use? Command shells unlock the potential of a UNIX system, and...

Continue reading

Pip is a tool for installing and managing Python packages. Pip is part of Extra Packages for Enterprise Linux (EPEL), which is a community repository of non-standard packages for the RHEL distribution.     First, we’ll install the EPEL repository. [crayon-59997486802f5460695581/] Install python-pip and any required packages: [crayon-59997486802fd698365522/] Verify that pip is installed: [crayon-5999748680302098009254/]    ...

Continue reading

This script will create a report of the connection rate on your Vertica Database Cluster. If you have connection load balance enabled the report should be showing an even distribution of the connections across all nodes in your Cluster. [crayon-5999748680977424871307/] Here is an example of the generated report: [crayon-599974868097f395261485/] ...

Continue reading

In our last article over AWK "Getting started with AWK" see introduced our self's with AWK, now let`s try to see how we can create AWK scripts and use them. Passing your scripts to awk as a command line argument can be very handy for small one-liners,...

Continue reading

Awk is geared toward text processing and report generation, yet features many well-designed features that allow for serious programming. And, unlike some languages, awk's syntax is familiar, and borrows some of the best parts of languages like C, python, and bash (although, technically, awk was...

Continue reading

To remove a swap file: 1 - At a shell prompt as root, execute the following command to disable the swap file (where /mnt/swapfile01 is the swap file): [crayon-5999748681c95998148989/] 2 - Remove its entry from the /etc/fstab file. 3 - Remove the actual file: [crayon-5999748681c9d381671788/]  ...

Continue reading