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 10 years ago.
Improve this question
I was editing a file over SSH when my computer crashed and I got the BSOD. I was SSHing through Putty. I would really like to recover if possible. I don't know if there is anyway to restore the SSH session and save from there. Any help would be appreciated.
No, there is no way to restore your session, unless you used something like screen.
But there might be a way to restore your file, but that depends on the editor you used. Editors like Vim and Emacs store the changes of unsaved files, and will notify you the next time you open the file.
Thus all you have to do in this case is open the same file again. In other cases the changes might just be gone.
Related
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 9 years ago.
Improve this question
Recently I deleted my huge collection of data that I stored in my hard disc accidentally. I recovered it using some recovery software.
But I want to set my hard disc in such a way that, nobody can delete the files, even it is administrator of my system or other system , until the permission is changed.
I don't like to use any external software for my need.
What can I do?
The closest you can get to this, on Linux and OS X, at least, is setting the sticky bit on the directory containing the files and changing the owner of the directory and those files to a dummy user.
chmod +t /path/to/dir
chown -R someone /path/to/dir
The sticky bit makes it so only the file owner or root (or, on OS X, someone with write access to the directory) can delete or rename files in a directory.
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 10 years ago.
Improve this question
I want to fully backup my Mantis tracking system, what is the easiest way to do this?
If I only backup the database, does it backup everything on Mantis already?
Thanks!!
To completely backup Mantis, the database state must be saved. In addition, you should back up the following files or directories:
the upload directory, if Mantis is configured to store attachments on disk;
the config_inc.php file
any other custom files, like custom_strings_inc.php or custom_constant_inc.php
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 10 years ago.
Improve this question
How can i disable explorer.exe from startup?
(need it to boost my only-gaming pc)
Thanks!
EDIT :
I need to diable explorer.exe, the game starts automatically on startup!
If i want explorer back, i can simpely press: Cntrl + Alt + Del, start Task Manager, Click on New Task, and type: "explorer.exe", it should work like that.
EDIT 2:
To make it On Topic, Maybe i can do this with an Batch-file?
I dont know enough of .bat files for making one, what i need to write in the batch-file?
In Windows, explorer.exe is the main file manager application that is required for the windows gui to function. Theoretically, there is a way to navigate your files (e.g., in order to open up your games) through the command line, though I believe that you will need explorer as the parent process for many of the popular games. Someone who has access to the MSDN would be able to tell you more definitively.
Long story short, unless you are booting into command line mode, explorer.exe will load on startup.
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
I wanted to ask can the database be restored to an earlier stage.
Somebody logged into my system and run a delete command.
Can this be restored?
Yes, it can. Reload the database from a backup.
Yes, you can (if you are running in Full Mode) just reload information from the Transaction Log.
How to: Restore a Transaction Log Backup
You might find this link also of some help:
How to: Restore to a Point in Time
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
Say I forget to run screen at the beginning of login, I've started up a program like emacs, have many files open, now I want to attach this to a session of screen. Is there any way to do this? Or do I have to exit emacs, run screen, then run emacs again, opening up my work from the beginning?
Thanks for your help.
This post from ServerFault might be useful: https://serverfault.com/questions/24425/can-i-nohup-screen-an-already-started-process
reptyr works if you're on linux
I don't believe this is possible - your emacs session is a child process of your shell, and I believe that a secure OS is pretty strict about making changes to the process tree from outside the process.