≡ Menu

Regular expressions as a concept is not exclusive to Python at all.

Python, however, does have some nuances when it come to working with regular expressions.

This article is part of a series of articles on Python Regular Expressions.
[continue reading…]

7 Cisco MDS 9000 Switch Command Line Examples for VSAN Zone Zoneset

The cisco fabric commands explained in this article are used to perform administration of fibre channel fabric switches including managing VSANs, administration of zonesets using Cisco MDS 9000 series fabric switches.
[continue reading…]

What is SSI?

SSI stands for Server Side Includes. As the name suggests, they are simple server side scripts that are typically used as directives inside html comments.

Where to use SSI? There are several ways to SSI. The two most common reason to use SSI are to serve a dynamic content on your web page, and to reuse a code snippet as shown below.
[continue reading…]

The next hands-on sysadmin workshop is here.

This time it will be 2 full days of hands-on training, where you’ll be working on several lab exercises on a Linux system.

This workshop is for newbies or intermediate users of Linux who would like to become proficient in Linux system administration. Wide range of essential sysadmin topics will be covered including package management, user/group management, various security aspects of Linux, filesystem/storage, several network utilities, system monitoring, etc.
[continue reading…]

How to Install and Configure Linux NTP Server and Client

NTP stands for Network Time Protocol.

It is used to synchronize the time on your Linux system with a centralized NTP server.

A local NTP server on the network can be synchronized with an external timing source to keep all the servers in your organization in-sync with an accurate time.
[continue reading…]

Happy 6th Birthday to The Geek Stuff

TGS is 6 years old now.

My daughter Diya doesn’t forget this occasion, as it is time for her to celebrate the birthday of her special toy friend.

Of all the stuffed toy animals she has, Penguin is her favorite. She has named her friend “Penguinee”.

This year, she also added a “Baby Penguin” to her collection.
[continue reading…]

How to Setup Linux Etherchannel Bonding for Network Interface HA

In Linux, using etherchannel bonding you can combine two or more physical network interfaces (NIC) together to create a virtual interface.

The IP address will be configured on this virtual interface. If one of the underlying physical adapters goes down, then the other physical adapter is used to handle the communication traffic.

The following are different types of etherchannel bonding modes:
[continue reading…]

A common idiom in programming is sorting a list. Python makes this a very simple task.

Python provides a built-in sorted() function that accepts an iterable type, and return a sorted list:
[continue reading…]