cut -f1 -d: /etc/passwd | xargs -I{} /bin/bash -c 'echo -n "{} " ; echo $(echo {} | wc -c)-1 | bc'
Ejercicios de Bash: sacar solo el nombre del usuario y al lado cuántos caracteres tiene ese nombre (Bash)
Except where otherwise noted, Jesusninoc by Jesús N. is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.