Difference between revisions of "LC ALL"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
− | [[function]] mkpw() { LC_ALL=C tr -dc '[:graph:]' < /dev/urandom | head -c ${1:-16}; echo; } | + | [[Bash shell functions|function]] mkpw() { LC_ALL=C tr -dc '[:graph:]' < [[/dev/urandom]] | head -c ${1:-16}; echo; } |
== See also == | == See also == |
Latest revision as of 13:35, 8 October 2022
LC_ALL="en_US.UTF-8" export LC_ALL=$LANG
function mkpw() { LC_ALL=C tr -dc '[:graph:]' < /dev/urandom | head -c ${1:-16}; echo; }
See also[edit]
Advertising: