The ssh command in Linux is used to manage remote systems. Ordinarily, this would be another Linux system, but it could also be a firewall, router, or even a different operating system entirely. Using the ssh command to remotely log into another system will give you a command line terminal that you can fully access as if you were physically in front of the machine.
bash
TYPOGRAPHY
This page is dedicated to showcasing various examples of typography code that are actively used on the LinuxConfig.org website. It is designed as a practical resource for content creators, developers, and designers involved in constructing and styling articles for our platform.
Bash Increment Variable: Counter Operations and Autoincrement
Bash scripting is a powerful tool for automating repetitive tasks, making it a core skill for anyone working with Linux systems. Among the essential techniques is managing variables that increment automatically, especially in loops or iterative processes. In this tutorial, we’ll focus on how to increment variables in bash bash scripts, exploring different ways to handle counters, increments, and loops.
How to create temporary files using mktemp on Linux
Temporary files and directories are very important: they can be used from shell scripts for example, to store information which are necessary to complete some tasks and can be safely removed once the work is done. In this tutorial we will see how to safely create temporary files and directories using the mktemp utility on Linux.
Bash Scripting: Mastering Arithmetic Operations
Arithmetic operations are a fundamental aspect of bash scripting, enabling scripts to perform calculations, automate tasks, and make decisions based on numerical data. Bash provides a variety of methods for performing arithmetic operations, from simple addition and subtraction to more complex calculations like floating-point operations and handling scientific numbers. This tutorial will guide you through different techniques and provide practical examples to enhance your bash scripting skills.
How to perform administration operations with Ansible modules
In previous tutorials we introduced Ansible and we discussed Ansible loops. This time we learn the basic usage of some modules we can use inside playbooks to perform some of the most common system administration operations.
logrotate command in Linux with examples
In Linux, many applications and system services will store log files. These log files give a Linux administrator insight into how their system is performing, and are invaluable when troubleshooting issues. However, log files can get unwieldy very quickly. For example, if your web server software logs every visit to your website, and you get thousands of viewers per day, there will be way too much information to feasibly squeeze into one text file.
Raspberry Pi as Minecraft Server
A Raspberry Pi, especially the newer models, possesses all the necessary hardware power for running a dedicated Minecraft gaming server. While it is easy enough to host the game off your desktop computer while simultaneously playing, having a dedicated server allows you to host an uninterrupted Minecraft session that can stay up and running for longer periods of time. Rather than buying a robust rig to host your server, or paying a third party company to do the hosting for you, utilizing the Raspberry Pi becomes a cheap alternative. On top of that, you still have the ability to customize the server configuration to produce your ideal gaming environment.