Generate PIN codes from letters using phone keypad layout
Pinky.sh (pin-key) is a Bash script used to generate PIN code. It simply maps letters to numbers according to phone keypad layout:
Number | Letter |
---|---|
9 | WXYZ |
8 | TUV |
7 | PQRS |
6 | MNO |
5 | JKL |
4 | GHI |
3 | DEF |
2 | ABC |
1 | others |
0 | + |
Usage:
./pinky.sh <letters>
OR
./pinky.sh
Enter letter(s): <letters>
$ ./pinky.sh test
8378
$ ./pinky.sh
Enter letter(s): test
8378