Showing headlines posted by linuxer
« Previous ( 1 ... 11 12 13 14 15 16 17 18 19 20 21 ... 36 ) Next »How to check and tune power consumption with Powertop on Linux
Powertop is a free and open source utility developed by Intel to monitor power consumption on Linux. The tool is able to display and export reports about the estimated discharge rate, and statics about processors and devices behavior. It also lets us easily tune some kernel parameters on the fly in order maximize battery life. In this tutorial we see how to install Powertop on some of the most used Linux distributions, and how to use it to monitor power consumption.
How to create and manage snippets in Vim with Ultisnips
Snippets are small fragments of reusable code which, in all the major text editors, can be defined, organized and associated to key shortcuts. Although in Vim it is possible to create snippets without using any plugin, Ultisnips provide us extra features and write snippets using a clean and well documented syntax. In this article we learn how to install the Ultisnips plugin and how to use it to write and manage snippets in Vim.
How to manipulate partition tables with fdisk, cfdisk and sfdisk on Linux
Fdisk, cfdisk and sfdisk are command line partitioning utilities included by default in all Linux distributions. They provide different interfaces to the same set of functions: while they all can be used interactively, only sfdisk is script-oriented. They support DOS, GPT, SGI and SUN partition tables.
How to use xargs to build command lines from standard input
Even the most basic installation of any Linux distribution comes with a set of really useful utilities: “xargs” is undoubtedly one of those. By using xargs we can build and execute command lines using items from standard input as arguments of a command. This is especially useful when dealing with programs which don’t read standard input directly.
Building a 'Hello World' Linux Systemd Service with Rust
In this tutorial, we will create a simple ‘Hello World’ Systemd service using the Rust programming language. Systemd is a popular init system and service manager in modern Linux distributions. By the end of this tutorial, you will have a basic understanding of how to create and manage Systemd services with Rust.
Building Your Own CLI (Command Line Interface) Tool with Python on Linux
In this tutorial, we will learn how to build our own Command Line Interface (CLI) tool using Python on a Linux system. A CLI tool allows users to interact with a program or script through a command-line interface, providing a more efficient and flexible way of executing tasks. By the end of this tutorial, you will have a good understanding of how to create a CLI tool and perform various operations using it.
Fun with Rust: Creating a Linux Terminal Quiz Game
In this tutorial, we will explore how to create a fun quiz game using Rust programming language. The game will be designed to run in the Linux terminal, providing an interactive experience for the users. By the end of this tutorial, you will have a working quiz game that can be played directly from the command line.
Writing a Firewall in Rust
In this tutorial, we will learn how to write a basic firewall using the Rust programming language. By the end of this tutorial, you will have a working firewall script that can help you secure network connections and protect your system against unauthorized access.
Getting Started Guide: Introduction to Go Programming on Linux
This tutorial is designed to help beginners get started with Go (Golang) programming on Linux systems. By the end of this tutorial, you will have a solid understanding of how to set up a Go development environment, write a basic “Hello World” program, and execute it successfully.
Before proceeding with this tutorial, it is recommended that you have some basic knowledge of Linux operating systems and programming concepts. Additionally, you will need access to a Linux system for the installation and hands-on exercises.
Cross-Platform Scripting: How to Install and Run PowerShell Core on Ubuntu Linux
In the world of cross-platform development, interoperability is key. Microsoft has helped further this goal by developing PowerShell Core, an open-source version of PowerShell. Designed to run on multiple operating systems - Windows, macOS, and Linux - PowerShell Core builds on .NET Core to provide a versatile scripting environment that works across platforms.
How to Develop a Python Plugin for GIMP
In this tutorial, we will learn how to develop a Python plugin for GIMP, a popular open-source image editing software. By the end of this tutorial, you will be able to create your own custom plugins to extend the functionality of GIMP using Python.
Using the Python Debugger (pdb) for Efficient Debugging
Debugging is an essential part of the development process. It allows programmers to identify and fix errors in their code, improving the overall quality and reliability of their software. Python provides a powerful built-in debugger called pdb (Python Debugger) that helps developers trace and debug their programs efficiently.
Apache vs IIS vs Nginx: An In-depth Comparison of Web Servers
Choosing a web server for your applications is a critical decision. Three widely used web servers are Apache HTTP Server (commonly run on Linux), Microsoft's Internet Information Services (IIS), and Nginx. This article provides a detailed comparison of these web servers based on multiple factors.
Finding Your Raspberry Pi’s IP Address: A Quick Guide
Most users will want to configure their Raspberry Pi to join the local network, and maybe even have an internet connection. In order to remotely connect to the Raspberry Pi or to configure related networking settings, a user will first need to obtain the device’s IP address. In this tutorial, we will show you how to find the IP address of a Raspberry Pi. This will include the internal (or private) IP address, as well as the external (or public) IP address, if one is assigned.
StackRot: A Significant Linux Kernel Vulnerability - A Review and Recommendations
The open-source world has recently been shaken by the discovery of a new, critical security vulnerability lurking in the Linux kernel - the lifeline of numerous operating systems worldwide. This flaw, named StackRot (CVE-2023-3269), resides in Linux kernel versions 6.1 to 6.4 and has the potential to provide nefarious actors with escalated privileges on a target host. In this article, we delve into the intricacies of StackRot, review the mitigation efforts taken, and offer recommendations for users to guard against this threat.
From Freedom to Profit: Red Hat's Latest Move - An In-Depth Review of its Impact on Free Software and Open Source Values
The end dates are approaching for CentOS Stream 8 and CentOS Linux 7. Users need to start planning system migrations and consider options like CentOS Stream 9, converting to RHEL 8, or exploring other operating systems. After May 31, 2024, CentOS Stream 8 will be archived, and no further updates will be provided. Similarly, CentOS Linux 7 reaches its end of life on June 30, 2024, with no more updates available. It's crucial to migrate containers and establish a regular update strategy to prevent security risks and potential costs. Always remember to set resource limits, autoscaler limits, and update containers regularly.
How to monitor filesystem events on files and directories on Linux
Inode notify (inotify) is a Linux kenel subsystem which provides APIs to to monitor filesystem events. Besides communicating with such APIs from proper programming languages, it is possible to take advantage of the exposed functionalities by using some explicitly designed command line tools such as inotifywait, which can be easily installed in all the major Linux distributions.
Understanding UEFI and BIOS in Relation to Linux Nvidia Driver Installation
Unified Extensible Firmware Interface (UEFI) and Basic Input Output System (BIOS) are firmware interfaces responsible for starting your computer by initiating the hardware during the booting process. These technologies are crucial for the functioning of operating systems and their associated hardware, such as graphics cards. As the successors to BIOS, UEFI systems have introduced numerous advantages for Linux users and have altered the landscape for installing drivers, including those for Nvidia cards on Ubuntu/Debian.
How to install and self host an Ntfy server on Linux
Ntfy is a free and open source notification service written in Go which lets us easily send and receive push notifications on smartphones or desktop computers via simple POST or PUT requests. The basic online service is publicly available free of charge and, on Linux, it is also possible to self-host an Ntfy instance. In this tutorial we see how to install an Ntfy server on Linux and how to use it to send and receive push notifications.
How to backup your git repositories with gickup
Git is by far the most used version control system out there. Originally created by Linus Torvalds, it is free and open source software, released under the GPLv2 license. Many online platforms such as Github or Gitlab allow developers to easily store and track changes in their code in public or private repositories using git as a backend.
« Previous ( 1 ... 11 12 13 14 15 16 17 18 19 20 21 ... 36 ) Next »