HOWTOS

This category includes the guide for various software installations on supporting hardware and programming ends.

Learn Dictionaries in Python with Examples

python dictionaries

Dictionaries are used in Python to store objects of different types. They consist in keys and values, where each key should be unique and must be of an immutable data type such as string, number or tuple. Open Python in [...]

Oltjano Terpollari 3:00 am

A Beginners Guide To Understand Makefiles In Linux

basics of linux makefiles

As beginners, most of the C/C++ programmers compile their programs on Linux command line by running the gcc or g++ compiler commands. But, as their projects start to grow, compilation through a single command does not remain easy and effective. [...]

Himanshu Arora 3:00 am

How to Optimize Images Using TriMage in Linux

Sometimes we need to optimize our images so they can take up less disk space and load faster in our websites. A very nice and easy to use tool for everyone that can help us optimize our image files for [...]

Oltjano Terpollari 3:00 am

How to Use Dig Command in Linux (10 Examples)

Bulk query using text file

Dig is a short from 'Domain Information Groper'. It performs DNS lookups and displays the answers that are returned from the name server(s) that were queried. This tool is an alternative DNS lookup tool, nslookup. Unless it is told to [...]

Pungki Arianto 3:00 am

How to Use sshfs on Linux

Sshfs is a file system for operating systems that have FUSE (Filesystem in Userspace) implementation. Examples of such operating systems are Linux, Mac OS X and FreeBSD but not limited to these. Sshfs is a great tool as it enables [...]

Bobbin Zachariah 3:00 am

How to Use Fail2ban to Secure SSH on CentOS 7

use Fail2ban centos7

Fail2ban is the latest security tool to secure your server from brute force attack. It automatically protects the server from hackers. It works by monitoring through log files and reacting to offending actions like repeated failed login attempts. The process consists [...]

Bobbin Zachariah 3:00 am

How to Generate Fibonacci Sequence in Python

In this article I will share a simple script that can be used to generate fibonacci sequence numbers. In case you guys don't know the numbers in the following integer sequence: 1,1,2,3,5,8,13,21,34,55,89........... Each new term in the Fibonacci Series is [...]

Oltjano Terpollari 3:00 am

How to Install tmux and Manage Multiple Linux Terminals

Tmux move windows interactively

A Linux system administrator usually work from remote to manage his server. While managing those servers, he may use SSH connection to the servers. Have you ever face the situation where you need more console at the same time? If [...]

Pungki Arianto 3:00 am

Linux 'make' Command Explained With Examples

linux make command

The make command in Linux is one of the most frequently used commands by the system administrators and the programmers. While it helps administrators in compiling and installing many open source utilities through the command line, programmers use it to [...]

Himanshu Arora 3:00 am

Lynis - Security Tool for Audit and Hardening Linux/Unix Systems

Lynis is a security tool for audit and hardening Linux/Unix systems. This tool scan our systems, do some tests and gather information about it. At the end, Lynis will provide us a report with suggestions and security-related warning to increase [...]

Pungki Arianto 1:00 pm

How to Use 7zip Archiver on Linux Command Line

7zip linux

If you are a windows user, you'd have definitely used the 7zip file archiver. It not only has the highest compression ratio but it also supports a host of archive formats like 7z, LZMA2, XZ, ZIP, Zip64, CAB, RAR, and [...]

Himanshu Arora 3:00 am

Learn Endianness and Structure Padding in C

In this article, we will discuss the concept of endianness and structure padding through C examples. Here are the details of testing environment : OS – Ubuntu 13.04 Shell – Bash 4.2.45 Compiler - gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3 System Endianness [...]

Himanshu Arora 3:00 am

Signal Handling In Linux Through The signal() Function

c signal function

In the part-1 of this series on Linux signals, we discussed the fundamentals of signals in Linux. In this article, we will discuss the practical aspects of signal handling in Linux through the signal() function. All the explanations will be [...]

Himanshu Arora 3:15 am

How to Setup a Centralized Syslog Server in Red Hat Linux

linux syslog server

Server logs become essential troubleshooting key points for system administrators when an issue occurs. By default, all the logs on RHEL based servers are stored in /var/log directory.  The syslog daemon can be configured to send logs to a remote [...]

Deep 6:27 pm