mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2025-07-15 17:23:15 +02:00
add command to Random section
Random generate password (e.g. generate 5 password each of length 13)
This commit is contained in:
@ -1157,6 +1157,13 @@ curl -L google.com
|
||||
|
||||
## Random
|
||||
[[back to top](#handy-bash-one-liners)]
|
||||
##### Random generate password (e.g. generate 5 password each of length 13)
|
||||
```bash
|
||||
sudo apt install pwgen
|
||||
pwgen 13 5
|
||||
#sahcahS9dah4a xieXaiJaey7xa UuMeo0ma7eic9 Ahpah9see3zai acerae7Huigh7
|
||||
```
|
||||
|
||||
##### Random pick 100 lines from a file
|
||||
```bash
|
||||
shuf -n 100 filename
|
||||
|
Reference in New Issue
Block a user