Linux Consultant
  • Home
  • About
  • Contact
  • Login
  • Profile
  • Privacy Policy
  • Home
  • About
  • Contact
  • Login
  • Profile
  • Privacy Policy
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

Search

Recent Posts

  • This new Linux distro folds a gorgeous COSMIC desktop into an immutable Fedora base
  • You can use Slack, Asana, and Figma directly inside Claude now – here’s how
  • Is TikTok down? Why your feed is suddenly glitchy or broken
  • Pets chewing through your charging cables? This one’s almost indestructible
  • This $20 remote may be Amazon’s most useful gadget yet – here’s how I use it
  • MX Linux 25.1 Features Dual Init System ISO
  • How to watch Super Bowl 2026: All your streaming options
  • Microsoft issues second emergency patch for Windows this month – update your PC today
  • Apple’s new AirTag 2 is better in almost every way – for the same price
  • I extended my AirTag’s battery life by 10 years with this simple accessory – but it has a big caveat

Tags

AI AlmaLinux 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 GNU/Linux Howtos HTML install instructions Java 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 Ubuntu 22.04 LTS windows os
Copyright © 2023 Linux Consultant
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.