TIME NOW
World current time now,
CALENDAR
Calendar monthly, yearly
login CONVERT LENGTH
login CONVERT TEMPERATURE
login DICTIONARIES, LISTS
login SCIENCE EDUCATION RELIGION
login WORK CALCULATOR
login CALCULATE LIFE

Linux commands, scripts, examples, tutorial

Previous articlePage bottomNext article  ALL TOPICS

Linux. Word text generator,script, code

 Unix - linux shell script to generate words list to 5 letters- characters: foreach.script.

1. It removes not needed files. BE CAREFUL.
2. Next: generates files to 5 chars using domainGenerate.script
3. Be careful: one 5 char file contains ~500MB.
4. It can take few hours to generate.

foreach.script Script:
#!/bin/sh

## run with
## /bin/nice -n 19 foreach.script

echo Remove .txt files from folder?

read a 2>/dev/null

if [ $a ]

then
#rm *.txt
echo Removed
fi

file=domainGenerate.script

while read line
do

var=$line
sym=1

echo $var >> domains$sym.txt
echo $var.ge >> domains$sym.ge.txt

echo $var

while read line1
do

var=$line$line1
sym=2

echo $var >> domains$sym.txt
echo $var.ge >> domains$sym.ge.txt

while read line2
do

var=$line$line1$line2
sym=3

echo $var >> domains$sym.txt
echo $var.ge >> domains$sym.ge.txt

while read line3
do

var=$line$line1$line2$line3
sym=4

echo $var >> domains$sym.txt
echo $var.ge >> domains$sym.ge.txt

while read line4
do

var=$line$line1$line2$line3$line4
sym=5

echo $var >> domains$sym.txt
echo $var.ge >> domains$sym.ge.txt

done < ./$file
done < ./$file
done < ./$file
done < ./$file
done < ./$file

Files OF All chars combinations - lists:

1 character
2 characters
3 characters
4 characters


3 characters english words
4 characters english words

SYMBOLS CHARACTERS WORDS LISTS (zip file)

Want 5, 6 characters? Write to ugnelakys[at]gmail.com 
Previous articlePage topNext article  ALL TOPICS



 Use username: Guest, Anonymous, Programmer






QUOTES:
Mothers are the most instinctive philosophers.
Harriet Beecher Stowe
Girls usually have a paper mGchT face on their wedding day.
Sidonie Gabrielle Colette
Ifi can't dance, I don't want your revolution.
Emma Goldman