Showing headlines posted by aweber

« Previous ( 1 ... 2 3 4 5 6 7 8 9 10 11 12 ... 16 ) Next »

for Loop Example

  • BashShell.net; By Mike Weber (Posted by aweber on Apr 6, 2011 4:15 AM EDT)
  • Story Type: Tutorial
Using a for loop to examine a series of IP Addresses to use in a firewall script to block Zombie networks.

Understanding the for Loop

  • bashshell.net; By Mike Weber (Posted by aweber on Apr 5, 2011 4:31 AM EDT)
  • Story Type: Tutorial
If you want to repeat a task more than one time, then you will be interested in loops. A loop will provide a way for you to perform that task with just one set of code.

Using find to Execute a Command

  • BashShell.net; By Mike Weber (Posted by aweber on Mar 24, 2011 9:36 PM EDT)
  • Story Type: Tutorial
The find command can be used to execute a command based on the data that is located with the initial find command. This provides a powerful alternative for manipulating the data you retrieve.

Installing Dovecot 2 on CentOS

  • postfixmail.com/blog; By Mike Weber (Posted by aweber on Mar 23, 2011 6:45 PM EDT)
  • Story Type: Tutorial
Dovecot 2 has new features, including security enhancements that administrators may want to use on CentOS. However, this version of Dovecot is not in the repository so you will need to install several additional packages.

find with Multiple Expressions

  • BashShell.net; By Mike Weber (Posted by aweber on Mar 21, 2011 5:27 PM EDT)
  • Story Type: Tutorial
The find command can use multiple expressions to enable complex searches which permit multiple criterion in the search. This feature greatly enhances the ability for creating precise searches.

Hotot: A Promising Desktop Twitter Client

  • BeginLinux.com; By Andrew Weber (Posted by aweber on Mar 19, 2011 9:05 PM EDT)
  • Story Type: Reviews
Hotot is a lightweight, python-based, desktop twitter client I tried on my Linux Mint 10 GNOME desktop. I found Hotot to include many features you’d expect in a desktop client and a few you may not.

April Nagios Training Dates Include Advanced Nagios Class

  • BeginLinux.com; By Andrew Weber (Posted by aweber on Mar 18, 2011 10:26 AM EDT)
  • Story Type: Press Release
An advanced Nagios class, taught online by Mike Weber of CyberMontana Inc, has been scheduled for April 2011.

Time Criteria with the find Command

  • BashShell.net; By Mike Weber (Posted by aweber on Mar 16, 2011 3:19 PM EDT)
  • Story Type: Tutorial
One of the most powerful options you can use with find is time criteria such as modified time, accessed time or changed time. Understanding how to use these elements will provide more effective searches.

5 Days of find: The Basics of find

  • BashShell.net; By Mike Weber (Posted by aweber on Mar 14, 2011 3:06 PM EDT)
  • Story Type: Tutorial
The first of the bashshell.net "5 Days of find" series, this tutorial breaks down the basics. With the Linux find utility, you can perform powerful searches on just about any criterion you can think of, and then, from the same command-line entry, invoke another utility to do whatever you need to do with the results.

Protecting Nagios From Zero-Day Exploits with ModSecurity

  • BeginLinux.com; By Mike Weber (Posted by aweber on Mar 11, 2011 11:24 PM EDT)
  • Story Type: Tutorial
You have built a rock solid firewall, tested it with nmap scanning for ports that were open, locked down SSH with port knocking, restricted outgoing ports with iptables, setup psad to block attacks, and tcp_wrappers to limit access so you are set right? Well, not exactly....

Build a Log Parser with Bash

  • BashShell.net; By Mike Weber (Posted by aweber on Feb 28, 2011 8:30 PM EDT)
  • Story Type: Tutorial
This example shows how to use a Bash shell script to parse multiple logs for text strings and create a report.

Exercise #9: Output/Input Redirection With awk

  • BashShell.net; By Mike Weber (Posted by aweber on Feb 22, 2011 2:38 AM EDT)
  • Story Type: Tutorial
The Linux utility awk can create output redirection for data you want to save and it can use input redirection from commands or respond interactively with users.

Exercise #8: Counting and Sums with awk

  • BashShell.net; By Mike Weber (Posted by aweber on Feb 20, 2011 10:11 AM EDT)
  • Story Type: Tutorial
awk may be used to count instances and also sum columns for reports. Often it is useful to use awk scripts for the output so that it can be formatted to your needs.

Exercise #7: Multiple Field Separators

  • BashShell.net; By Mike Weber (Posted by aweber on Feb 18, 2011 8:23 PM EDT)
  • Story Type: Tutorial
awk allows you to change the fields separators so that you can use on a various kinds of files. You can also use multiple field separators on one file.

Monitoring a Cisco Router with Nagios

  • BeginLinux.com; By Mike Weber (Posted by aweber on Feb 17, 2011 1:32 AM EDT)
  • Story Type: Tutorial
Sometimes you will need to create service checks using the MIBs that you can discover with snmpwalk. This tutorial will show you the process of creating service checks for a Cisco router manually.

Exercise #5: Managing the Structure of the awk file

  • BashShell.net; By Mike Weber (Posted by aweber on Feb 16, 2011 6:52 PM EDT)
  • Story Type: Tutorial
The awk file can be modified to include a BEGIN section and an END section that allows you to perform tasks before and after the records are processed.

Exercise 4: Starting with awk Scripts

  • BashShell.net; By Mike Weber (Posted by aweber on Feb 15, 2011 7:35 PM EDT)
  • Story Type: Tutorial
Using awk scripts expands the possibilities with awk and provides an easy way to repeat searches on a number of files.

Exercise #2: Learning awk with Operators

  • BashShell.net; By Mike Weber (Posted by aweber on Feb 13, 2011 4:18 PM EDT)
  • Story Type: Tutorial
When you use awk with operators levels, comparisons and ranges can be part of the data search.

Speed up Your Mail Server with a Caching-Nameserver

  • Postfixmail.com/blog; By Mike Weber (Posted by aweber on Feb 13, 2011 1:35 PM EDT)
  • Story Type: Tutorial
The mail server can increase speed by placing a caching-nameserver on the mail server itself. This provides recursive lookups and a cache for the mail server to work with. The caching-nameserver does not require much resources and is easy to install.

Exercise #1: Learning awk Basics

  • BashShell.net; By Mike Weber (Posted by aweber on Feb 12, 2011 3:40 PM EDT)
  • Story Type: Tutorial
By performing these basic commands you will begin to see the power and flexibility of the Linux utility awk. This exercise is designed to start you down the path of using awk.

« Previous ( 1 ... 2 3 4 5 6 7 8 9 10 11 12 ... 16 ) Next »