LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Generate SPECIAL alphanumeric WORDLIST - no repeating characters side-by-side (https://www.linuxquestions.org/questions/programming-9/generate-special-alphanumeric-wordlist-no-repeating-characters-side-by-side-862473/)

PTrenholme 08-17-2013 11:39 AM

See the last few lines of post #16, above.

Note that this thread is more that a year old. Often posting to an old thread will result in no answers because nobody will look at thread that old. You'll have better luck if you start a new thread with your question.

Since you seem new to Linux, I recommend that you look in the tutorials section for general information about Linux Questions and other topics.

As a general answer, almost every command reads its input from the "standard input device," /dev/stdin, and sends its output to the "standard output device," /dev/stdout. (Any error messages are sent to the "standard error device," /dev/stderr.)

When you're using a terminal, you're "actually" running a program called the "shell" program. Almost always, that is a program called bash, although there are several other shell programs in common use. bash, and most of the other shell programs, use redirection operators (< << <<< > >>) to change the default to some other file. (The < operators change the input, the > ones the output.)

For example the command echo "Hello World!" would display Hello World on your terminal; echo "Hello World!" > example would create (or overwrite) a file called "example" (in your "current directory") containing that line. The cat command will copy a file (or a set of files) to the standard output.

Here's an example:
Code:

$ echo "Hello World"
Hello World
$ echo "Hello World" > example
$ cat example

Hello World
$ cat example example
Hello World
Hello World
$ rm example

(The rm command, at the end, removes the "example" file.)

jamied_uk 10-13-2022 05:17 AM

how to Generate a specifically formatted string
 
How do i generate codes with a specific format like

aaaAaaaaa1aa

where 1 is a number a is lower case and A is upper case? im using linux and like to use bash but pearl is just as good, i was trying to use crunch but that is way too long becuase of the aaaa crap that crunch spits out, any ideas?

boughtonp 10-13-2022 07:18 AM


 
( This is a 2013 thread - jamied_uk appears to have noticed that after posting and started their own thread: https://www.linuxquestions.org/questions/programming-9/how-to-generate-a-specifically-formatted-string-4175717710 )


jamied_uk 10-13-2022 06:06 PM

well done, have some Pi :D


All times are GMT -5. The time now is 07:09 PM.