mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-26 06:17:01 +00:00
add command to Random section
Random generate password (e.g. generate 5 password each of length 13)
This commit is contained in:
parent
055bbc8790
commit
3bab1594ae
@ -1157,6 +1157,13 @@ curl -L google.com
|
|||||||
|
|
||||||
## Random
|
## Random
|
||||||
[[back to top](#handy-bash-one-liners)]
|
[[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
|
##### Random pick 100 lines from a file
|
||||||
```bash
|
```bash
|
||||||
shuf -n 100 filename
|
shuf -n 100 filename
|
||||||
|
Loading…
Reference in New Issue
Block a user