Showing headlines posted by linuxer
« Previous ( 1 2 3 4 5 6 7 8 ... 33 ) Next »Temporarily Set Static IP in Linux using CLI
Configuring a static IP address temporarily on a Linux system is a useful skill, especially for troubleshooting networking issues or for specific network setups where you don’t want to modify permanent settings. A temporary static IP can be assigned to the network interface, which will be active only until the system is rebooted.
How to install Arch Linux alongside Ubuntu (Dual Boot)
Arch Linux and Ubuntu are two extremely popular Linux distributions. While they naturally have a lot of functional overlap, their core principles, user friendliness, and native features are very different. Ubuntu is easy to use, while Arch Linux is more customizable. Rather than trying to decide between the two, it is possible to configure a dual boot system so that you can boot into whichever operating system you feel like using.
Try-Catch in Bash: Bash Script Error Handling
Bash scripting is a powerful tool for automating tasks on Linux systems. However, unlike high-level programming languages, Bash doesn’t have built-in try-catch blocks for error handling. Instead, you must implement different strategies to detect and manage errors during script execution. In this article, we will explore five methods for handling errors in Bash scripts, ranging from beginner-friendly to more advanced approaches.
How to install Arch Linux alongside Windows 11 (Dual Boot)
Arch Linux is a robust operating system often chosen by power users and IT professionals. While there is no doubt that it is an extremely powerful OS, the need to use other systems can also arise for users that are required to use a variety of applications and ecosystems that Arch Linux can’t always easily accommodate. This is when a dual boot system that runs both Arch Linux and Windows 11 proves useful.
Enabling Ubuntu 3D Desktop Cube Desktop Effect
If you ever get bored of your ordinary, default Ubuntu desktop or you feel that you do not utilize your video card the way you should, you could enable the 3D cube effect to give your desktop an extra spark. This effect is provided by Wayfire, a 3D compositor for Wayland.
Getting Started with Stratis Linux Storage: Managing Pools and Filesystems
Stratis is a free and open source storage management system developed by Red Hat. Available as a technology preview since RHEL 8, it gained full support starting from version 9.3 of the distribution, and can be used also on Fedora. Stratis relies on existing storage technologies such as LUKS, device mapper, and the XFS filesystem, to provide features similar to those integrated in the BTRFS and ZFS filesystems.
How to Install Multiple Deb Packages on Ubuntu
Ubuntu is one of the most popular Linux distributions, well known for its ease of use and wide range of available software. In some cases, software comes in the form of .deb packages that need to be installed on your system. When faced with multiple .deb packages, especially when they have dependencies, installing them one by one can be time-consuming.
How to Exit Vim Text Editor: Quick Tutorial
Vim is a powerful, highly configurable text editor used primarily in Linux, macOS, and other Unix-based systems. Despite its widespread use, one of the most infamous challenges, especially for beginners, is figuring out how to exit Vim after editing a file. Unlike more modern text editors, Vim relies on keyboard commands rather than menus or buttons, which can be a hurdle for those unfamiliar with it.
How to create snapshots on Linux
A snapshot is an image of a filesystem state at a specific point in time. Snapshots are really useful to “turn back time” and bring the system to a known good state if something goes wrong. At the time of writing, there are two main native ways we can create atomic snapshots on Linux: by using LVM (Logical Volume Manager) or by creating a BTRFS filesystem, which has snapshots as a built-in feature.
How to Store All Shell Commands Immediately After Execution into .bash_history File
When working with the Linux command line, the .bash_history file plays a vital role by storing the commands you have executed. By default, the commands are stored only when you exit your terminal session, meaning they might not be saved in real-time. However, it can be beneficial to ensure that all commands are saved to the .bash_history file immediately after execution.
How to Install SNMP on RHEL/CentOS
SNMP (Simple Network Management Protocol) is widely used for network management and monitoring. Installing SNMP on RHEL/CentOS systems allows you to monitor various system statistics, interfaces, and other crucial metrics. This guide will walk you through the detailed steps to install, configure, and test SNMP on your RHEL/CentOS system.
How to Encrypt and Decrypt Files and Directories Using OpenSSL and Linux
Encrypting and decrypting files and directories securely is essential for protecting sensitive data. OpenSSL, a powerful open-source tool, provides robust encryption and decryption capabilities that can handle files of any size, from small text files to large binaries, and even entire directories.
How to Obtain Information About Network Devices and Their Configuration on Linux
Linux is a powerful operating system that provides a wide range of tools for network management and configuration. Whether you are troubleshooting network issues, configuring new devices, or just exploring your system’s network setup, knowing how to obtain information about network devices is essential.
How to Transfer Data Over the Network with nc (netcat) Command on Linux
The nc (netcat) command is a versatile tool that allows Linux users to transfer data over a network. This method can be useful for quickly moving files between systems without needing additional data transfer protocols like FTP, HTTP, or SCP. In this tutorial, you will learn how to transfer a file between two Linux systems using nc, with one system acting as the server (sending the file) and the other as the client (receiving the file).
How to Convert Various eBook Formats for Amazon Kindle on Linux
Amazon Kindle supports a limited number of eBook formats, making it essential to convert your files to a compatible format before sending them to your device. If you are a Linux user, there are several tools at your disposal to help with this conversion process. In this guide, we will cover how to use popular tools such as ebook-convert, calibre, and unoconv to convert various eBook formats to Amazon Kindle-supported formats.
How to Execute Less Than 1 Minute Interval Jobs
When working with the Cron time-based scheduler in Linux, you might find yourself needing to execute tasks at intervals of less than one minute. However, the native capabilities of Cron do not allow for such granular scheduling. By default, Cron’s smallest interval is one minute. This can be limiting for certain applications where tasks need to be run every few seconds or at a more precise time interval.
How to install Kali alongside Windows 11 (Dual Boot)
Security professionals often need to use a variety of operating systems to perform their tasks. Dual booting Kali Linux and Windows 11 grants users the ability to switch back and forth between systems, depending on the work that needs done.
Ubuntu Remote Desktop Access from Windows 10/11
Remote desktop is a feature that allows a user to log into another system and control it the same way they would if they were sitting right in front of it. You are able to see the screen exactly as it appears on the remote system itself, and use the keyboard and mouse.
How to create backups with Rsnapshot on Linux
Rsnapshot is a free and open source utility which works as a wrapper around Rsync to perform incremental snapshots of local or remote systems via SSH. Hard links are used to save space when backing up unchanged files, to preserve space while still displaying complete filesystems to the user. In this tutorial, we learn how to install and configure Rsnapshot on some of the most used Linux distributions.
How to install Ubuntu alongside Windows 11 (Dual Boot)
If you want to be able to run both Ubuntu Linux and Windows 11 on your PC, one option is to implement a dual boot configuration. This will give you the best of both worlds by allowing you to boot into either Ubuntu or Windows 11 whenever you turn on your computer. Having access to both operating systems is a powerful option in which you can take advantage of both system’s abilities.