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 Blog How to Install HandBrake on Ubuntu and Linux Mint Security How to Install Bitwarden on Manjaro Developer How to Install Apache Spark on Ubuntu 22.04 News Tails 6.1 Released: Enhancements in Security and User Experience Developer 10 Most Used Linux Distributions of All Time