Difference between revisions of "LC ALL"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
  LC_ALL="en_US.UTF-8"
 
  LC_ALL="en_US.UTF-8"
 
  [[export]] LC_ALL=$LANG
 
  [[export]] LC_ALL=$LANG
 +
 +
 +
[[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: