Linux FAQs, tips and tutorials
619 followers 0 articles/week
How to check if Intel Hyper-Threading is enabled in Linux

Hyper-Threading is an Intel's simultaneous multithreading (SMT) technology that is designed to improve execution parallelism of x86 CPU processors. This tutorial describes several ways to check whether or not Intel Hyper-Threading is enabled on your Linux system.

Sun Aug 8, 2021 06:30
How to use indexed arrays in bash

Bash supports one-dimensional indexed arrays, which are essentially ordered lists, where you can access the values by their index (i.e., position in the list). This bash tutorial teaches you how to use indexed arrays in bash. Various usages of indexed arrays in bash are illustrated with examples.

Mon Apr 5, 2021 04:25
Tcpdump cheat sheet with examples

Main power of tcpdump packet sniffing tool comes from its flexible packet filtering rules and versatile protocol dissection capability. As you may know, only the sky is the limit when it comes to packet-level monitoring with tcpdump. This post provides a comprehensive tcpdump cheat sheet with detailed examples.

Thu Apr 1, 2021 04:36
How to use map, reduce and filter in Python

Functional programming approach in Python can be best illustrated by built-in functions called map(), filter(), and reduce(). This python tutorial teaches you how to use map(), filter() and reduce() functions with easy-to-follow examples.

Wed Mar 31, 2021 03:38
How to use range and sequence expression in bash

This bash tutorial explains the bash's built-in brace expansion, and presents examples that illustrate how to use brace expansions to define a range or to generate a sequence of strings.

Tue Mar 30, 2021 04:09
How to catch and handle errors in bash

Writing a robust, bug-free bash script is always challenging even for a seasoned system administrator. While you cannot prevent all errors in your bash script, at least you should try to handle potential error conditions in a more predictable and controlled fashion. This tutorial introduces basic tips to catch and handle errors in bash.

Mon Mar 29, 2021 06:04

Build your own newsfeed

Ready to give it a go?
Start a 14-day trial, no credit card required.

Create account