Pretty Print JSON in Linux Terminal
About JSON (JavaScript Object Notation) is a widely used data format for exchanging information between web clients and servers. However, JSON data is often densely packed, making it difficult to read when viewing it directly in the terminal. Fortunately, Linux offers several tools to help pretty-print JSON files, making them easier to read and analyze. In this post, we’ll explore various methods for formatting JSON in the Linux terminal, including jq, Python’s built-in JSON tool, and a custom Bash script for environments where installing new tools is not possible.
gomirror - A CLI Linux distribution mirror ranker
The project is in Work in Progress (WIP) state. A lot of functionality is still missing.
About gomirror is a CLI mirror ranker that its main goal is to rank or find the best mirror for a Linux distribution. Although it can be extended to be used as a more general ranker for mirrors/servers.
It is build with usability, extensibility, and performance in mind. It can quickly make thousands of requests with the power of Goroutines, to all servers in parallel.
Download the Latest Release from GitHub and Verify their integrity using Checksums
About GitHub hosts millions of open-source projects, many of which provide compiled binaries for various platforms as part of their releases. When you’re looking to download the latest version of a project, you might wonder how to do it efficiently from the command line, without manually navigating the GitHub website. Fortunately, GitHub provides an API that allows you to access release information programmatically. In this post, we’ll explore how to download the latest release of any GitHub project from the command line, using curl and utilizing the GitHub API.
Postfix Configure
Install Postfix Install postfix and mailutils if not already installed:
sudo apt install postfix mailutils Postfix Configuration Screen In the screens, that will show up when installing postfix:
General type of mail configuration:
Choose Internet Site System mail name:
It will be the domain part of our emails, so if you choose the default which is the systems hostname e.g. serverhostname, Postfix will use the address someuser@serverhostname You can use serverhostname.