infinite string

All posts tagged infinite string by Linux Bash
  • Posted on
    Featured Image
    The blog article describes using the Bash command `yes | tr \n x` to generate an infinite string until memory overload. It breaks down the `yes` command which repetitively outputs 'y', and the `tr` command which replaces newlines with 'x', forming a continuous 'yx' output. It emphasizes understanding the impact on system resources and includes a sample script for safely demonstrating the command without crashing the system.