0
votes
1answer
58 views

How to change hostname [duplicate]

I have updated my system's hostname in /etc/hostname file as master. I have also mapped my /etc/hosts file like <ip> master Still, when I type $ hostname, I get a different hostname. I ...
0
votes
2answers
20 views

Avoid initial full directory commit & rather add file to VCS just before modifying the file?

Could I put a certain file in some VCS like git/subversion/etc only "when" I am modifying it. So first I put the unmodified version & then the modified version. The desire is to put the file in ...
0
votes
0answers
142 views

Error while installing Ubuntu 12.04

While installing Ubuntu 12.04, there is a process called expanding. 60% of this process was completed but then the progress stopped. Why does this happen, abd how long will it take to complete? ...
2
votes
2answers
768 views

The system does not go down

/etc/init.d/.depend.stop My Ubuntu 12.04 The system shuts down normally not get error message can't not open / etc / init.d / .depend.stop no such file of directory See picture What can ...
1
vote
1answer
145 views

how to recover when /etc has been deleted on ubuntu 12.04?

I have accidentally deleted /etc. Does anybody knows how to recover from such a situation ? At least I can use ssh while the server is in rescue mode (dedicated server from ovh.com). I could ...
3
votes
1answer
2k views

How to run a script when suspending/resuming? - Sony VAIO Ubuntu 12.04

Question: How to assign a script to run when selecting the suspend option on the power menu? Context: I have a Sony VAIO laptop, which was a recent purchase. I have managed to install the AMD Radeon ...
3
votes
1answer
117 views

Replace /etc after reinstallation

I reinstalled Ubuntu 12.04 after a corruption caused by a faulty operation (not much interesting but you can read about it). The old system had three partitions, one for boot, one for / and one for ...
2
votes
1answer
622 views

Ubuntu User Accounts messed up

I need to fix Ubuntu Accounts but somehow don't really see how it could be done. The problem is: files /etc/passwd and /etc/hostname and /etc/hosts where changed. /etc/passwd After ...