What happens if I delete the main profile in Ubuntu? [closed] - ubuntu-16.04

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I know that deleting the main profile is a stupid action and it is mainly my fault. I still want to understand the consequences and issues based on my mistakes.
I did today some really silly stuff I used in my Ubuntu Terminal command sudo rm -rf taras, which deleted all the stuff that I had on my Ubuntu taras profile. I was trying to delete other account but ... forgot to modify something.
Luckily I started deploying Ubuntu 2 months ago. I am using it as a secondary OS with Windows (double booting) so none of my personal files where destroyed but my projects, savings were deleted.
Can you please explain to me what are the consequences of this? Do I need to reinstall Ubuntu again? Or I still can continue my work there? In such situations Git really helps a lot ;-)

There isn't anything fundamental in the home directory. You would still be able to boot, though possibly you would end up in a tty login prompt. Alternatively, if it boots into a login manager, logging in might produce some errors. You would still be able to login with your usual credentials.

Related

How do I restore deleted code inside a file? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 12 months ago.
Improve this question
I'm using autosave in vscode and I accidently deleted important code and I can't restore it anymore even using CTRL + Z
Is there any solution to restore the lost code?
If it is no longer possible with CTRL + Z and you have not initiated a version software for your project, it is no longer possible to reconstruct the code.
An unlikely case would be if you have not yet saved the file you have edited, the original code would at least still be contained in the file. But I guess that's not the topic here because you use autosave.
Is your project perhaps under version control? If yes, you could grab the missing code from the previous state of the project. If not, I suggest you look into code version control systems, mainly git (https://en.wikipedia.org/wiki/Git), it will prevent similar situations from arising in the future, plus it enables multiple people to work on the same code.

Is there a way to replicate a preconfigured ubuntu os? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I am trying to replicate an ubuntu OS which is has (NAT,Firewall etc) setup.I am trying to find away to install a preconfig os or the os image in production, to avoid installing and setting up manually in each and every machine.Is there a way to solve this problem?
Thank you
Two methods come to mind--both variations on a theme. There may be other better methods that others know of, but lets at least start with the following.
Method #1. Assuming that the hardware is exactly the same between systems, you may be able to copy an install from one disk to another (or clone it using 'dd').
Method #2. If you are using virtual machines, you may have a master copy that you copy as needed (instead of identical hardware, you have identical virtual hardware).

Updating ownCloud got stuck - recover? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Yesterday I wanted to update my ownCloud isntallation from version 7 to 7.0.1 (or 7.0.0a - I can't recall the exact name...).
I triggered the update using the intrgrated update mechanism. Unfortunatelly it seems to get stuck since I still get the page stating "The ownCloud instance is currently being updated...".
Is there a way to get the installation going again without having to reinstall from scratch?
Thanks and regards!
I don't know whether you can get the installation going again, but I've just seen this post here: https://github.com/owncloud/core/issues/10195. May be this is related to your problem? It seems to me, that you would need to start a new installation in this case.

Message from webpage [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Message from wepage popups in my yahoo email account. I need to x the box several times to unfreeze my computer. Then, it keeps popping up. And this occcurs before I even open any mail. exact message: "message from webp, then hi, then 40401508, then 1"
Any suggestion to get ride of it?
Run any anti-virus or anti-malware utility of your choosing on your computer. Follow any instructions that it provides on how to clean and remove whatever cruft is causing this. There are lots of free versions available online, but you should consider purchasing a subscription to a well-regarded utility from a reputable company. These days, browsing the Internet without protection is just asking for trouble!
If that doesn't work, the next step is backing up your important data, erasing your computer's disk, and re-installing your operating system from scratch. It sounds drastic, but it's really not all that bad. Plus, it will fix any other problems you've been having and probably speed up your machine noticeably.

Cloning a Guardian Edge Protected Drive [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I need to clone/ghost a GE protected hard drive, but I am running into various issues. Norton Ghost seems to just freeze up, XXClone puts up strange errors. I realize the entire drive is encrypted, but would that make a difference to a cloning software?
Anybody have any experience with this?
Under Linux you can use the dd command to clone data from one drive to another.
If you don't have a machine running Linux, you can download a bootable CD from e.g. http://www.sysresccd.org/Main_Page which will have dd and other useful commands for dealing with hard drives and data recovery.