Smile every time you sudo

Reading time ~1 minute


If you want your terminal prompt to look like this every time you sodo, please continue reading. note: i did on ubuntu so for other flavor, file path might be slightly different

step 1. download this amazing ascii art text and move to /etc/sudoers.d/sudoers.lecture

❯ curl -O
❯ sudo cp groot.txt /etc/sudoers.d/sudoers.lecture

step 2. edit /etc/sudoers (or /etc/sudoers.d/privacy)

Defaults     lecture = always
Defaults     lecture_file = /etc/sudoers.d/sudoers.lecture    

Let’s see this magnificent art <3

# reset timestamp
❯ sudo -k  
# some sudo command
❯ sudo -l



Great tools to decided refnanice Continue reading

Don't let your money sleep

Published on December 20, 2020

nvm to manage node version

Published on October 25, 2020