Creating test files
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 I in `seq -w 200` ; do echo "Hello world file$I" > testfile$I.txt ; done
More Stories
Open Source and Music Playback
For me at least, music is an indispensable part of my day; much more so than streaming video or television....
3 things that matter most for a project management tool
Our daily professional lives involve recognizing, prioritizing, and completing tasks. These tasks comprise the larger projects and initiatives that drive company and business success. When you think about it this way, the project management tool and system you choose at work, for yourself or your team, is critical.
Seven Linux commands just for fun
Linux was developed by fun-loving people who created an array of fun and even comical commands. Try playing around with these yourself when you want a smile.
Extend the life of your Linux SSD drive with fstrim
SSDs have benefits like silent and cooler operation and a faster interface spec, compared to their elder spinning ancestors. Of course, new technology brings with it new methods of maintenance and management. SSDs have a feature to reclaim unused blocks on the device.
NetworkManager on Linux: #3 — How I migrated to NetworkManager Connection Files for configuration
Interface configuration files may not be supported in Fedora much longer, but migrating to NetworkManager is easier than you might think.
An introduction to GRUB2 configuration for your Linux machine
Learn how the GRUB boot loader works to prepare your system and launch your operating system kernel.