How Do I Sort in Elasticsearch?

Posted: 2021-10-30 08:43:44
Source: https://linuxhint.com/sort-results-elasticsearch/

We can sort Elasticsearch results using the sort keyword. The sort query requires you to provide a field under which to sort. Elasticsearch does not support sorting on fields of type text. How to sort results from an Elasticsearch query using the sort keyword is explained in this article.

Ansible Stat Module Usage

Posted: 2021-10-30 08:10:06
Source: https://linuxhint.com/ansible-stat-module/

The stat command is a command-line utility that provides detailed information about filesystems or files. Ansible, considered the most diverse and popular automation tool, provides a module for fetching file and file system information as native Linux stat command. How to work with the stat module in Ansible playbooks is explained in this article.

Hive Ransomware Now Encrypts Linux and FreeBSD Systems

Posted: 2021-10-30 00:02:00
Source: https://it.slashdot.org/story/21/10/29/2115214/hive-ransomware-now-encrypts-linux-and-freebsd-systems?utm_source=atom1.0mainlinkanon&utm_medium=feed

Hive, a ransomware group that has hit over 30 organizations since June 2021, now also encrypts Linux and FreeBSD using new malware variants specifically developed to target these platforms. BleepingComputer reports: However, as Slovak internet security firm ESET discovered, Hive's new encryptors are still in development and still lack functionality. The Linux variant also proved to be quite buggy during ESET's analysis, with the encryption completely failing when the malware was executed with an explicit path. It also comes with support for a single command line parameter (-no-wipe). In contrast, Hive's Windows ransomware comes with up to 5 execution options, including killing processes and skipping disk cleaning, uninteresting files, and older files. The ransomware's Linux version also fails to trigger the encryption if executed without root privileges because it attempts to drop the ransom note on compromised devices' root file systems.

Read more of this story at Slashdot.

Date Command in Linux with Usage Examples

Posted: 2021-10-29 22:48:13
Source: https://linoxide.com/date-command-in-linux-with-usage-examples/

Development Release: Elive 3.8.24 (Beta)

Posted: 2021-10-29 14:21:32
Source: http://distrowatch.com/11384

The Elive team have published a new beta snapshot of their Debian-based distribution featuring the Enlightenment desktop. The project's new snapshot is Elive 3.8.24 Beta. "This new version includes: Bootup speed greatly improved in live mode. Discards for SSD included for encrypted partitions, improving their health and performance.....

Development Release: Elive 3.8.24 (Beta)

Posted: 2021-10-29 14:21:32
Source: https://distrowatch.com/11384

The Elive team have published a new beta snapshot of their Debian-based distribution featuring the Enlightenment desktop. The project's new snapshot is Elive 3.8.24 Beta. "This new version includes: Bootup speed greatly improved in live mode. Discards for SSD included for encrypted partitions, improving their health and performance.....

next-20211029: linux-next

Posted: 2021-10-29 08:23:47
Source: http://www.kernel.org/

Version:next-20211029 (linux-next)
Released:2021-10-29

Ansible User Module Tutorial

Posted: 2021-10-29 08:20:58
Source: https://linuxhint.com/ansible-user-module-tutorial/

The Ansible user module is one of the handiest ways to manage users and their attributes when working with remote hosts. Managing users and user attributes is a typical operation for any system administrator. Ansible.builtin.user module is part of ansible-core and is available by default in most ansible installations. How to manage user accounts using the ansible user module is explained in this article.

Ruby Find Elements In An Array

Posted: 2021-10-29 05:17:40
Source: https://linuxhint.com/ruby-find-elements-in-array/

In Ruby and other programming languages, arrays allow you to store and manage related information in a list by a single variable. Once you have an array, you can manipulate the elements stored in it. In this article, we will discuss and explore ways to find elements in an array.

How to Use Sed to Add a New Line at the End of Each Line

Posted: 2021-10-28 22:19:01
Source: https://linuxhint.com/sed-to-add-new-line/

The sed stands for stream editor that is used for basic editing operations on a text that comes from a file or on an input that is directly passed to sed from another command. Like its inputting criteria, sed can process an input file and give output to another program. This article explains how to append a new line after each line of a text file using sed command.

Analyze Disk Usage Using GDU Command Line Tool

Posted: 2021-10-28 21:57:04
Source: https://linuxhint.com/analyze-disk-usage-using-gdu-command-line-tool/

The article will guide you on how to use the GDU command line tool. Gdu is a command line tool that analyzes disk usage at a fast speed optimized for solid state drives and works with traditional hard drives as well.

AlmaLinux ELevate - ELevate your distro to 8.x

Posted: 2021-10-28 16:33:09
Source: https://www.youtube.com/watch?v=4B4eXhaskZ4

Configuring TACACS+ Server With A Simple GUI

Posted: 2021-10-28 16:00:00
Source: https://www.linuxjournal.com/content/configuring-tacacs-server-simple-gui

Configuring TACACS+ Server With A Simple GUI

Managing authentication and authorization in a large-scale network is a challenge: the passwords need to be set and rotated every now and then, access to certain configuration settings needs to be controlled and, finally, users’ actions need to be logged somewhere. This poses a need for a centralized controller in the network that is responsible for such functions. Modern routers and switches, which typically run Linux operating systems, support TACACS+ protocol that enables system administrators to implement flexible rules for authentication and authorization. However, TACACS+ server implementation for Linux operating system, although neat, lacks a graphical user interface which makes daemon configuration a smooth and intuitive process. In the next few paragraphs, we will discuss how to configure the TACACS+ daemon on Linux operating system and demonstrate how to deploy a simple, yet intuitive, GUI used for the configuration of the TACACS+ instance.

TACACS+, which stands for Terminal Access Controller Access-Control System Plus, is a protocol mainly designed by Cisco and standardized in RFC8907. The primary goal of the protocol is to handle authentication and authorization of commands executed on remote telecommunication hardware on a centralized server. TACACS+ is a great protocol and can be compared to RADIUS. Its key advantages are the following: it allows scrambling or obfuscating (although, not really encrypting in a cryptographic sense) the entire payload with help of MD5 hash function and a secret shared between telecommunication hardware and a central server, it supports TCP protocol for transport, and it provides the possibility of carrying out AAA functions in a flexible way. More details on the protocol can be found in the corresponding RFC.

There exists a pretty neat implementation of the TACACS+ server for Linux. And here we will discuss how to configure this implementation on Linux and also touch aspects related to the deployment of the GUI-based tool used to configure an instance of the protocol.

In order to install TACACS+ run the following commands on the server which is reachable by your zoo of network devices:

Ruby Reverse String

Posted: 2021-10-28 12:59:22
Source: https://linuxhint.com/ruby-reverse-string/

Strings are a fundamental building block in programming. A string is an array of characters in sequential order. The simplest way to reverse a string in Ruby is to use the built-in reverse method. We will look at various ways we can reverse a string in the Ruby programming language.

Linux overview | Kubuntu 21.10

Posted: 2021-10-28 12:57:15
Source: https://www.youtube.com/watch?v=IHLtSn9M3P4

next-20211028: linux-next

Posted: 2021-10-28 11:42:26
Source: http://www.kernel.org/

Version:next-20211028 (linux-next)
Released:2021-10-28

Ruby String Interpolation

Posted: 2021-10-28 11:04:09
Source: https://linuxhint.com/ruby-string-interpolation/

String interpolation refers to the process of adding placeholders that reference other values in a string object. The values interpolated into a string are evaluated to their corresponding values. String interpolation can be seen as a form of template injection. How to interpolate strings in the Ruby is explained in this article.

Ruby Check If An Array Contains Values

Posted: 2021-10-28 10:40:39
Source: https://linuxhint.com/check-array-contains-values-ruby/

Arrays are crucial in many programming languages because they provide flexibility, performance, and refactored code when used appropriately. An individual item in the array is an array's element. In Ruby, the index of elements in the array starts at 0 from left to right. How to check if an Array contains values is explained in this article.

Bash Print all Environment Variables

Posted: 2021-10-28 10:09:35
Source: https://linuxhint.com/print-all-environment-variables-bash/

Environment variables are a collection of dynamic specified values kept inside the machine that has been utilized by programs running in terminals or subshells in Ubuntu and Linux platforms. Environment variables involve changing the way a system functions as well as the behavior of the device's programs. How to print all Environment Variables in Bash is explained in this article.

How to Create a Menu Bash Script

Posted: 2021-10-28 09:27:04
Source: https://linuxhint.com/create-menu-bash-script/

There are various ways to accept data from the user in Bash scripts. Allowing participants to enter input, on the other hand, might cause some issues. The major difficulty is data integrity, which necessitates taking into consideration all potential inputs. Creating a multiple-choice panel for the Bash code is a simple way around all of this. How to create a Menu in Bash Script is explained in this article.

1 ... 586 587 588 589 590 ... 726