Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux:nice-to-know [2019/05/06 17:03] – michael | linux:nice-to-know [2019/05/06 17:33] (current) – michael | ||
---|---|---|---|
Line 155: | Line 155: | ||
</ | </ | ||
+ | ---- | ||
+ | |||
+ | <WRAP center round box 100%> | ||
+ | ''< | ||
+ | |||
+ | '' | ||
+ | |||
+ | <sxh plain; gutter: false;> | ||
+ | genpasswd() { | ||
+ | tr -dc A-Za-z0-9 < / | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | Where 36 is default length if no parameter is given | ||
+ | |||
+ | ---- | ||
+ | |||
+ | **Usage**: | ||
+ | |||
+ | < | ||
+ | GVQ3ZHqrBRDzB1QwASA9uk6YsZPto2GWeRWR | ||
+ | |||
+ | # genpasswd 7 | ||
+ | qvPWx7N</ | ||
+ | </ | ||