Many sysv init scripts used a corresponding file in /etc/default
to allow the administrator to configure it. Upstart jobs can be modified using .override
files. How do I override or configure systemd units, now that systemd is the default in Ubuntu?
Currently when I execute the date command from bash I get the following displayed
Thu May 17 12:21:00 IST 2012
Below is my timezone config based on executing dpkg-reconfigure tzdata
Current default time zone: 'Europe/Dublin' Local time is now: Thu May 17 12:32:52 IST 2012. Universal Time is now: Thu May 17 11:32:52 UTC 2012.
Any idea how I change from IST to UTC/GMT?
I feel stupid asking, but I can't seem to find the answer to this anywhere. I'm trying to follow these instructions to edit my bash prompt, but there is no .bashrc
in either my user directory (~/.bashrc
), or in my home directory, or in the main file system directory.
There is no .bashrc
in /etc/
(there is a bash.bashrc
, however).
Do I create a .bashrc
file in my user or home directory? Is there a better, more recent set of instructions for modifying the bash prompt?
I keep getting this warning whenever I try to run sudo apt-get update
.
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
Below is the output from /etc/apt/sources.list
file:
deb http://archive.ubuntu.com/ubuntu precise main restricted
deb-src http://archive.ubuntu.com/ubuntu precise main restricted
deb http://archive.ubuntu.com/ubuntu precise-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu precise-updates main restricted
deb http://archive.ubuntu.com/ubuntu precise universe
deb-src http://archive.ubuntu.com/ubuntu precise universe
deb http://archive.ubuntu.com/ubuntu precise-updates universe
deb-src http://archive.ubuntu.com/ubuntu precise-updates universe
deb http://archive.ubuntu.com/ubuntu precise multiverse
deb-src http://archive.ubuntu.com/ubuntu precise multiverse
deb http://archive.ubuntu.com/ubuntu precise-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu precise-updates multiverse
deb http://archive.ubuntu.com/ubuntu precise-security main restricted
deb-src http://archive.ubuntu.com/ubuntu precise-security main restricted
deb http://archive.ubuntu.com/ubuntu precise-security universe
deb-src http://archive.ubuntu.com/ubuntu precise-security universe
deb http://archive.ubuntu.com/ubuntu precise-security multiverse
deb-src http://archive.ubuntu.com/ubuntu precise-security multiverse
How do I fix it?
What is the ~/.local
folder good for and is it safe to remove the content within this folder?