I encountered the following error today while installing a few packages on a ubuntu server using a sudo user. “sudo: sorry, you are not allowed to set the following environment variables: DEBIAN_FRONTEND” The command I ran was: “sudo DEBIAN_FRONTEND=noninteractive apt-get install -qy git-core” I did search on google and did’nt find any direct answer for … Continue reading Allowing user to set environment variable with sudo
Want to see information about your git repository? Based on a discussion here Duane Johnson wrote a very useful bash script. I am using this script from months and would like to share with you. You can download this script here(). You can also add an alias like below, so that I can be a … Continue reading Displaying information about your git repository
If you guys want to change timezone of your ubuntu machine then you can do it by issuing: This may be helpful if you deal with servers.