Skip to content
Home ยป printf

printf

Colorize Your File with Awk

Colorized /etc/passwd Here’s a script that will display all the information in the /etc/passwd file, with each type of value (username, UID, GID, home directory, and shell) colorized differently: Explanation: You can customize the script to use different colors and format the output as you prefer. Note that the script… Read More »Colorize Your File with Awk