Raspberry Pi as Minecraft Server

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.

Read more

Customizing and Utilizing History in the Shell

Customizing and Utilizing History in the Shell

Every command that is typed into a Linux system’s terminal is typically stored in the history buffer for a period of time. This explains why pressing the up arrow in terminal will let you cycle through past commands that have been executed. This buffer of past commands can be customized according to an administrator’s needs, allowing us to vary the number of saved commands, clear the current history, or change other settings.

Read more

FFMPEG Script to Convert Multiple Files in Linux

When working with media files, it’s common to find yourself needing to batch convert multiple files. This is particularly true in fields like video editing, audio processing, or even when simply organizing your media library. The powerful tool at the heart of such tasks is often FFMPEG, a versatile, open-source software that can handle almost all video and audio formats. Understanding how to harness FFMPEG through shell scripting can significantly speed up your workflow.

Read more

Bash Scripting: How to Zip All Files in a Directory

In the world of Linux and Unix-like systems, bash scripting is a powerful tool for automating repetitive tasks, such as file compression. Zipping files using a bash script can significantly streamline your workflow, especially when dealing with routine backups, file transfers, or batch processing. This article will guide you through creating simple yet effective bash scripts to zip files and directories, incorporating arguments to make your script more versatile and adaptable to different situations.

Read more

Mastering String Concatenation in Bash Scripting

String concatenation is a fundamental aspect of Bash scripting, allowing the combination of string literals, variables, and command outputs to form more complex strings. This capability is especially useful in loops, where dynamic string creation is often required. Whether you’re a beginner or an advanced user, understanding how to effectively concatenate strings in Bash is a valuable skill.

Read more

How to use curl to get public IP address

How to use curl to get public IP address

The curl command on Linux systems is commonly used to download and upload files to or from a remote server. Another interesting thing we can use it for is to determine the public IP address of our system. To do this, we can use curl to query websites that are configured to do nothing more than return the IP address of whichever system is connecting to it. This is one of the quickest and easiest ways to get your public IP address on the Linux command line. In this tutorial, you will see how to use the curl command to get your system’s public IP address.

Read more

Stat command: Usage and examples

Stat command: Usage and examples

The stat Linux command is one of the best ways to view the full details of any file that is stored on a Linux system. It is installed by default on all distributions, so there is nothing extra to install, and is basically a one stop shop for viewing file permissions, timestamp info like access times and modification times, and various other metadata for any file on your system. It also comes with a few handy options, allowing us to tailor the output for specific needs, and view information about all file types, including symbolic links, pseudo files, and others.

Read more

Granting Full User Rights to a Folder and Its Contents in Linux

Granting Full User Rights to a Folder and Its Contents in Linux

Sometimes it is necessary to grant full user rights on an assortment of files in your Linux system. You may have dozens, hundreds, or even thousands of files on which a user needs read, write, and execute permissions in order to fully access and utilize them. In such scenarios, it can be useful to grant full user rights on an entire directory, which gives blanket permissions on all of the directory’s file contents and subdirectories.

Read more