Creating test files
Last Updated on September 3, 2024 by David Both
Some of my books and articles require you to create some files for testing. This can be done easily from the command line.
- Open a terminal session on your desktop.
- Copy the line below from this post.
- Paste it into the terminal session.
- Press the Enter key.
This Bash program creates 200 files with “Hello world filexxx” in each, where xxx is the file number. You can edit the program and change “200” to any number of files that you need.
for X in `seq -w 200` ; do echo "Hello world file$X" > testfile$X.txt ; done
More Stories
A Fresh Look at Manjaro KDE Plasma
Linux adventures come in many distributions, and Manjaro is no exception. I decided to download the KDE Plasma version of...
Dipping My Toes into the Arch World with Manjaro Cinnamon
I decided it was time to explore a distribution I had no experience with, so I downloaded Manjaro Cinnamon. I...
A look at Fedora 43 Server Edition
I decided to look more closely at the Fedora 43 Server Edition after struggling to set up a BtrFS system...
Reasons for Moving to Linux
Cyndi Bulka, my yoga teacher and co-author of our book, “Linux for Small Business Owners”, and I both switched to Linux for some similar as well as a few different reasons. We did it for our businesses as well as our personal computing needs.
Triangle Linux User Group (TriLUG) February Meeting
Triangle Linux Users Group Topic: Why I use Linux -- And have never used WindowsPresenter: David BothWhen: Thursday, 12 February...
Update on my Oldest Computer
Something interesting happened today that I decided to write about. Not that I don't find interesting things to write about...