Linux Consultant
  • Home
  • About
  • Contact
  • Login
  • Profile
  • Privacy Policy
  • Home
  • About
  • Contact
  • Login
  • Profile
  • Privacy Policy

How to Repeat a Character n Times in Bash

Home How to Repeat a Character n Times in Bash
June 8, 2021 | by Scott Kilroy | No comments

How to Repeat a Character n Times in Bash

I needed a quick script to work on Linux, macOS, and FreeBSD server to repeat a string/character n times. Here’s how I built it.

no related pages

Source: Linuxtoday.com

« Prev

Search

Recent Posts

  • GNU C Library 2.44 Released
  • FOSS Force’s Top Five Articles — For the Week Ending July 24, 2026
  • Wine 11.14 Released with W 21 Bug-fixes
  • Wine 11.14 Released with W 21 Bug-fixes FreeBSD & 21 Bug-fixes
  • CIQ Mixes ‘Open’ Metaphors with RLC Pro Hardened ‘Deployment’
  • The Bootable USB Creator Ventoy 1.1.17 added Athena OS & EulerOS Support
  • GNOME Added Support Resizing / Moving Screenshot Selection via Keyboard
  • Ubuntu 26.10 “Stonking Stingray”: All the New Features So Far
  • Distribution Release: StartOS 0.4.0
  • Distribution Release: Helwan Linux 5.0

Tags

AI AlmaLinux Android app Apps App Updates aws beginner's guide blog C++ Debian 11 Debian 12 desktop environment Developer Discord distro distros docker Firefox FOSS free software git gnome extensions GNU/Linux Howtos HTML install instructions JavaScript kde KDE Plasma LF Platinum Member Content Linux distribution Linux tutorial new release News Raspberry Pi release RHEL Rocky Linux security The Linux Foundation tutorial Tutorials ubuntu 22.04 windows os

Copyright © 2021 Linux Consultant