How To Write Infinite Loop in BashNovember 18th, 2007 This is how you create an infinite loop in bash to run a piece of code perpetually at pre-defined intervals.
#!/bin/bash
while [ 1 ]
do
# Your code goes here
# Modify sleep time (in seconds) as needed below
sleep 2
done
For example I used this code to write a bash script to monitor long running mysql queries.
Monitoring MySQL Queries Using Bash ScriptNovember 18th, 2007 Monitoring MySQL queries is a favorite pastime of MySQL administrators especially for performance reasons. Here is a simple bash script to monitor long running MySQL queries in realtime using the ubiquitous 'show processlist'.
The Why of Apple's BootcampApril 10th, 2006 Why did Apple, after all these years, finally decide to support Windows on their machines?
It is surely not because they have grown a friendship with Microsoft. As Bootcamp website stated: "More and more people are buying and loving Macs.
Free e-Book: Linux Command Line and Shell Scripting Bible January 29th, 2009 Covering the most popular Linux shells (such as bash, ash, tcsh, ksh, korn, and zsh), this reference book shows how to use commands to create scripts within each shell and demonstrates practical applications for shell scripts (including retrieving information from Web sites and sending automated reports via e-mail). For each shell, the author discusses the commands available and explains how to use these commands to create scripts that can automate common functions and reports.
20 Windows 7 Keyboard Shortcuts You Must KnowDecember 29th, 2008 Windows 7 beta is launched. If you haven't yet had a look at the Windows 7 Beta, here is our article to help you with that.
Finally a good use of Flash!November 15th, 2004 For people who were forced to switch over from windows to Linux/Unix and who still miss their good 'ol windows, you can experience it again at http://www.saunalahti.fi/~jylppy69/swf/windows_rg.swf
Finally a good use for Flash, to remind people of the good 'ol days with windows.
Comments welcome.
Download Ubuntu Transformation Pack for Windows XPApril 9th, 2009 Ubuntu is perhaps the richest graphically well equipped operating system from the Linux world. It gives us a more sophisticated flavor that an usual Linux misses in the eyes of a layman.
Microsoft sends final Windows 7 code to manufacturers, promises smooth transition for PC usersJuly 22nd, 2009 Microsoft says Windows 7 is ready for PC companiesSEATTLE — Microsoft Corp. says Windows 7 is complete.
Windows 7 Transformation Pack: Feel Windows 7 in Windows XPFebruary 5th, 2009 Windows 7 is the hottest cake making the top news. For those Windows-buffs still sticking to the banal XP, there's welcome change to expect.
Microsoft Clamps Down on Windows PiracyJuly 27th, 2005 Microsoft Corp. has started a new program aimed at severely limiting the ways people using pirated copies of its Windows operating system can get software updates.
Windows 7 Hack: Start Windows Explorer from 'My Computer'January 19th, 2009 This is just a small customization but pretty useful for people who like to play with settings and love doing tweaks and tricks with Windows. Supposedly you belong to that group who love exploring different hard disk drives or removable disks more than personal documents' folder.
Windows 7 hack: Migrate Windows Mail from VistaJune 6th, 2009 Microsoft had introduced a new free email and newsgroup client in Windows Vista, Windows Mail. It succeeded Microsoft's long grown Outlook Express.
Next Windows Mobile 6.5 in store on October 5thSeptember 1st, 2009 REDMOND, Wash. — Microsoft Corp.
Trick: Restart only Windows, not your ComputerMarch 28th, 2009 Installed a new software in Windows - need a restart?
Your Windows is acting slow and you want to go for a restart. So what are you waiting for? just click on the button to restart the machine...
How To Fool Windows Genuine Advantage in 15 MinutesAugust 9th, 2006 Windows Genuine Advantage (how to remove WGA) has been alleged as Spyware, creates innumerable problems for genuine users and yet it is very simple to fool with 15 minutes or less of effort. Ed Bott spent about 15 minutes to find a web page containing five volume license keys that had reportedly been posted on September 9 2004.
July 22nd, 2005 at 6:10 pm
I fail to see your point. Any operating system can crash from a buggy driver. This is not a quality unique to Windows.
Troubleshooting a kernel panic under Linux is no less confusing thatn troubleshooting a BSOD under Windows.
August 4th, 2005 at 7:11 am
“Any operating system can crash from a buggy driver.”
True microkernels should not crash, but that’s irrelevant. Solaris and Linux are monolithic kernels. Linux, and probably Solaris and others others do, however, have the ability to gracefully recover from less critical errors, called “kernel oopses” in Linux lingo. Kernel oopses sometimes just kill the process(es) in question, but your system remains stable.
November 12th, 2007 at 11:11 pm
Well, here\’s another spin. I have just spent hundreds of hours trying to diagnose why my Windows XP Pro based computer keeps crashing. Tonight, I hopefully found the reason. It appears that I never installed the WGA plugin for Firefox. I never knew it existed. Since about July 24 when a Windows update was released, KB938828, my computer has gone through continual meltdowns. I have done repair installs 20 or 30 times. I did a complete reinstall, but every time I allowed all of the critical updates to load, I suddenly had complete lockups. This was especially true with my modem and voice/fax drivers. Well tonight, I decided to read the information related to every update. Bingo! This update was released July 24. I had to perform a complete reinstall on July 25. So, I set up a restore point and downloaded the update directly from Micorsoft. All of a sudden it pops up and tells me I have to install a WGA plugin for Firefox. I did so, installed the update, and the system now appears stable. If I could afford the time, then I would test it more. However, this is looking like a real Microsoft controlling everything issue. I would change to Linux in a heartbeat if I didn\’t require Windows for my accounting and scheduling.
This is starting to look like the situations years ago when WordPerfect and other competing programs began crashing ad nauseum until an antitrust suit was filed and Microsoft suddenly came out with a library upgrade that eliminated the problems, and when programs began crashing left and right with Windows 98 SE when XP wasn\’t selling to their expectations. Are my problems due to the fact that Vista has some real problems and many are upgrading to XP to have their computers function? Right now, I wish I could send Bill a bill. I paid for a functional operating system. No matter what their license says, it should be just that.
July 27th, 2009 at 3:56 pm
The reason that people “bash” Windows so much, is because of it’s lack of standardization. Aside from it crashing all of the time for silly reasons, it is also a poorly planned system.
Even in Windows 7, they suggest that they’ve made it more user-friendly - but different applications that ship WITH THE OS have completely different interfaces? How is that user friendly?
For instance, open Windows Explorer in Windows 7 by pressing . You’ll notice that the menu bar is gone. Press alt, and it magically appears. How is completely hiding menus from anyone who doesn’t know about some esoteric keyboard command good graphical user interface design? Oh, that’s right. It’s not.
People who bash about Windows are usually people that have realized the benefits of using a good operating system, and have since been forced into using it. Believe me, it’s worth complaining about.
With as much development power they’ve got, I don’t see how they’ve got such poor software. It’s that simple.
The only thing more confusing that that - is how users can actually get in a position where defending Windows seems logical. Way to go on that one.
July 27th, 2009 at 4:20 pm
First, you state:
“First only does Windows known to crash for installing bad drivers or incompatible software but also due to problems entirely of their own like memory leaking or resource conflict between their own approved software.”
You follow this with:
“It is the responsibility of the Operating System to be robust enough to gracefully recover from such errors.”
Is that not a contradictory set of phrases, or is it common sense what the problem is when your screen goes pure blue and says there’s an error at address 0×0F0FF039E?