Home Developer How to Repeat a Character n Times in Bash By Anonymous June 8, 2021 What would you do if you needed to repeat a character such as – OR = multiple times while writing bash script. 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. Complete Story Facebook Twitter Linkedin Email Print Previous articleSSH to Port Other Than 22: How to Do It Next articleHow to Install Starcraft 2 on Ubuntu Linux Get the Free Newsletter! Subscribe to Developer Insider for top news, trends, & analysis Email Address By subscribing, you agree to our Terms of Use and Privacy Policy. Subscribe Must Read Security Cloud Active Defense: Open-Source Cloud Protection Developer How to Install Sails.js Framework on Ubuntu 22.04 Developer How to Install Magento 2 on Ubuntu 24.04 News GNOME 46.1 Desktop Environment Released with Explicit Sync Support IT Management Linux Assistant: Tool to Help You Master Linux System Administration