How to manage tlp graphically with tlpui

Introduction to Tlpui, a GTK frontend for Tlp

Tlp is a command line utility we can use to optimize power consumption on Linux. It provides reasonable defaults, and, at the same time, an easy to understand text-based configuration file we can use to create our own setup. An external project provides a user-friendly GTK frontend to Tlp written in Python: Tlpui.

Read more

Introduction to the ansible console

Introduction to Ansible console

In previous Ansible tutorials we saw how easy it is to understand the basic concepts of this fantastic automation tool, how to write our first playbooks, how to organize tasks into roles, and how to use Ansible Vault to protect sensitive data. This time, we focus on an interactive tool which let us execute tasks on the fly, targeting single hosts or host groups: the Ansible console.

Read more

How to integrate dialog boxes in shell scripts with Whiptail

How to integrate dialog boxes in shell scripts with Whiptail

The ability to create secure shell scripts is essential not only for system administrators, but also for users who wants to automate repetitive tasks. Sometimes, from our shell scripts, we need to provide the user with some kind of information, ask him/her to provide some input, choose from a set of alternatives, or just ask for his/her confirmation before performing a potentially dangerous operation. All those actions, can be performed from the command line, of course, but to make our scripts more user-friendly, we can use of Whiptail to customize and display textual widgets.

Read more