-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpasswords
More file actions
31 lines (28 loc) · 766 Bytes
/
passwords
File metadata and controls
31 lines (28 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
function passwords() {
echo -e "Which password utility would you like to run?\n"
local options=(
"Password Maker"
"Password Chart"
"Exit"
)
PS3="Please select an option: "
select choice in "${options[@]}"; do
case "$choice" in
"Password Maker")
python3 ~/GIT/nanosecond/Python/password_maker.py
return 0
;;
"Password Chart")
python3 ~/GIT/nanosecond/Python/passwordchart-nano.py
return 0
;;
"Exit")
return 0
;;
*)
echo -e "Invalid selection, please try again."
;;
esac
done
}