screenfetch head -n1 /var/log/pacman.log |awk -F '[' '{printf " \033[1;32mINSTALL DATE :\033[0m [" $2}' echo ' '
Reff:
https://ostechnix.com/find-exact-installation-date-time-linux-os/
https://stackoverflow.com/questions/5947742/how-to-change-the-output-color-of-echo-in-linux
No comments:
Post a Comment