Hibernate does not work anymore in Microsoft Vista
It's been a while since I blogged last, and even longer since I cleaned and free up some disk space on my laptop. While moving and deleting data last week, I used disk cleanup utility. I cleared couple of GBs using this utility, including Hibernation File Cleaner. Obviously, I had no idea what this would do to my laptops' power settings and realized it after a few days that my laptop doesn't hibernate any more and goes to sleep.
After quite sometime trying to fix this, I stumbled across the following knowledge base article on Microsoft Support site: http://support.microsoft.com/kb/929658
The fix is really simple; all you need to do is log in as Administrator and run the following command:-
powercfg /hibernate on
You'll now be able to hibernate again. I'm going to do just that right now!
How do I extract a tar file?
Using the following command in SSH, you will be able to extract files from your tar file.
tar -xf file.tar
How to tar a file using SSH?
Use the following command if you want to create a tar and compress a file (or folder).
tar -czf /path/to/save/file.tar folder_or_file_name
The options used in the above command are outlined below for your understanding.
-c = create
-z = compress a file
-f = use the file mentioned instead of tape drive
A man should look for what is, and not for what he thinks should be.
"A man should look for what is, and not for what he thinks should be."
- Albert Einstein
