Difference between revisions of "LC ALL"

From wikieduonline
Jump to navigation Jump to search
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 ==

Revision as of 13:34, 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

Advertising: