Need help on BASH syntax

This page summarizes the projects mentioned and recommended in the original post on /r/bash

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • kvdo

    A pair of kernel modules which provide pools of deduplicated and/or compressed block storage. (by tigerblue77)

  • #!/bin/bash install_dependencies() { (( ${#} > 1 )) && { apt update apt install -y "$@" } || echo "No dependencies to install" } clean_dependencies() { (( ${#} > 1 )) && { apt autoremove --purge -y "$@" } || echo "No dependencies to remove" } clone_repo() { (( ${#} == 1 )) && { TEMPDIR=$(mktemp -d "${1/*\/}.XXX") git clone "$1" "${TEMPDIR}" && \ cd "$TEMPDIR" && pwd -P } } # First part : KVDO module install_dependencies git make "linux-headers-$(uname -r)" > /dev/null 2>&1 WORK_DIR="$(clone_repo https://github.com/tigerblue77/kvdo.git)" ( cd "${WORK_DIR}" && \ make -j"$(nproc)" -C "/usr/src/linux-headers-$(uname -r)" M="${WORK_DIR}" ) > kvdo_log 2>&1 cp "${WORK_DIR}/vdo/kvdo.ko" "${WORK_DIR}/uds/uds.ko" "/lib/modules/$(uname -r)" clean_dependencies git make "linux-headers-$(uname -r)" > /dev/null 2>&1 rm -Rf "${WORK_DIR}" # Second Part: VDO Module install_dependencies git make gcc uuid-dev libz-dev libdevmapper-dev libblkid-dev > /dev/null 2>&1 WORK_DIR="$(clone_repo https://github.com/dm-vdo/vdo.git)" ( cd "${WORK_DIR}" && \ make -j"$(nproc)" && \ make -j"$(nproc)" install ) > vdo_build_log 2>&1 clean_dependencies git make gcc uuid-dev libz-dev libdevmapper-dev libblkid-dev > /dev/null 2>&1 rm -Rf "${WORK_DIR}" # Last Part depmod modprobe kvdo modprobe uds

  • vdo

    Userspace tools for managing VDO volumes.

  • #!/bin/bash install_dependencies() { (( ${#} > 1 )) && { apt update apt install -y "$@" } || echo "No dependencies to install" } clean_dependencies() { (( ${#} > 1 )) && { apt autoremove --purge -y "$@" } || echo "No dependencies to remove" } clone_repo() { (( ${#} == 1 )) && { TEMPDIR=$(mktemp -d "${1/*\/}.XXX") git clone "$1" "${TEMPDIR}" && \ cd "$TEMPDIR" && pwd -P } } # First part : KVDO module install_dependencies git make "linux-headers-$(uname -r)" > /dev/null 2>&1 WORK_DIR="$(clone_repo https://github.com/tigerblue77/kvdo.git)" ( cd "${WORK_DIR}" && \ make -j"$(nproc)" -C "/usr/src/linux-headers-$(uname -r)" M="${WORK_DIR}" ) > kvdo_log 2>&1 cp "${WORK_DIR}/vdo/kvdo.ko" "${WORK_DIR}/uds/uds.ko" "/lib/modules/$(uname -r)" clean_dependencies git make "linux-headers-$(uname -r)" > /dev/null 2>&1 rm -Rf "${WORK_DIR}" # Second Part: VDO Module install_dependencies git make gcc uuid-dev libz-dev libdevmapper-dev libblkid-dev > /dev/null 2>&1 WORK_DIR="$(clone_repo https://github.com/dm-vdo/vdo.git)" ( cd "${WORK_DIR}" && \ make -j"$(nproc)" && \ make -j"$(nproc)" install ) > vdo_build_log 2>&1 clean_dependencies git make gcc uuid-dev libz-dev libdevmapper-dev libblkid-dev > /dev/null 2>&1 rm -Rf "${WORK_DIR}" # Last Part depmod modprobe kvdo modprobe uds

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • kvdo

    A kernel module which provide a pool of deduplicated and/or compressed block storage.

  • git clone https://github.com/dm-vdo/kvdo.git $WORK_DIRECTORY && \

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts