1
vote
2answers
1k views

How do I replace corrupted /etc/inittab and /etc/init.d/rcS files?

I am using Ubuntu 11.10 on my laptop and I have managed to overwrite my /etc/inittab and /etc/init.d/rcS files while running a stupid script with sudo. Can anyone please provide me the default ...
9
votes
1answer
3k views

How do I set which PostgreSQL version is to be used by default?

I have 2 different versions of PostgreSQL installed on my system (Ubuntu Lucid): /var/lib/postgresql/8.4 /var/lib/postgresql/9.0 By default, when I run a PostgreSQL command such as createdb or ...