.

Saturday, July 3, 2021

Showing screenfetch and install date on Manjaro

Here is the code:
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:

Showing screenfetch and install date on Manjaro

Here is the code: screenfetch head -n1 /var/log/pacman.log |awk -F '[' '{printf " \033[1...