I want to create a list like this:
1mississipi
2mississipi
.
.
.
all the way to
100mississipi
how can I create a regular text file containing all these, without having to type each manually?
I want to create a list like this:
1mississipi
2mississipi
.
.
.
all the way to
100mississipi
how can I create a regular text file containing all these, without having to type each manually?
This is one way to do it.
btw to save to text you can pipe the output to a text file (./somescript.sh > file.txt)Code:#!/bin/bash for x in {1..100} do echo $x "mississipi" done
Don't eff with The Cult...
thank you, Angry Johnnie.
How do I add the "pipe the output" part?
thank you, kostkon.
Bookmarks