Best of BashJune 2024

  1. 1
    Article
    Avatar of nickjanetakisNick Janetakis·2y

    Creating Dynamic Variables in Bash

    Learn how to create dynamic variables in Bash using indirect expansion. This technique eliminates the need for if statements and reduces duplication of code for different environments.

  2. 2
    Article
    Avatar of communityCommunity Picks·2y

    What are the Different Types of Shells in Linux?

    Shells act as an interface between users and the kernel, allowing command execution and system interaction. Key Linux shells include the Bourne shell (sh), Bash (GNU Bourne-Again shell), C shell (csh), Korn shell (ksh), and Z Shell (zsh). Each shell has unique features suitable for specific tasks, such as Bourne's compact nature, Bash’s command recall, C shell’s aliasing, Korn shell’s script compatibility, and Zsh's customization.

  3. 3
    Article
    Avatar of hnHacker News·2y

    shell-pool/shpool: Think tmux, then aim... lower

    shpool is a service that enables session persistence, serving as a lighterweight alternative to tmux and GNU screen. It offers persistent shell sessions that don't break native scrollback or copy-paste. shpool can be installed on a remote host for sshing in and creating named sessions. It provides various configuration options and supports different session restore modes. Additionally, shpool differs from tmux and other similar tools by maintaining a native terminal experience and offering additional features like in-memory screen redraws and automatic prompt prefixes.