Difference between revisions of "LC ALL"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
 
  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 ==
 +
* {{locale}}
 +
 
 +
[[Category:IT]]

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: