Posts

Showing posts from August, 2011

Puzzle

Facts: 1: There are 5 villas in 5 different colors  2: In each villa lives a person with a different nationality.  3: These 5 owners drink a certain beverage, smoke a certain brand of cigar and keep a certain pet.  4: No owner has the same pet, smoke the same brand of cigar or drink the same drink.   Hints: 1: The British lives in a red villa.  2: The Swede keeps dogs as pets  3: The Dane drinks tea  4: The green villa is on the left of the white villa (it also means they are next door to each other)  5: The green villa owner drinks coffee  6: The person who smokes Pall Mall rears birds  7: The owner of the yellow villa smokes Dunhill  8: The man living in the villa right in the center drinks milk  9: The Norwegian lives in the first villa  10: The man who smokes Blend lives next to the one who keeps cats  11: The man who keeps horses lives next to the man who smokes Dunhill  12: The owner who smokes Blue...

Windows Services Start(Contd.)

Commands for some Management Consoles (msc extension required) Entry for Run Function ciadv.msc Manages the Indexing Service compmgmt.msc Computer Management Console. It contains a number of the other consoles devmgmt.msc Device Manager dfrg.msc Disk Defragmenter diskmgmt.msc Disk Management gpedit.msc Group Policy Editor. Not available in Windows Home editions services.msc Manages the many services involved in Windows and installed software

Windows Services Start

Entry for Run Function calc Opens calculator cmd Opens command prompt window explorer Opens Windows explorer magnify Screen magnifier accessory msconfig System Configuration Utility mshearts Opens Hearts game msinfo32 System Information applet mspaint Opens graphics accessory Paint notepad Notepad accessory regedit Registry editor sol Opens Classical Solitaire game 

Linux Shell Programming

I had a little bit experience in Liunx Shell Progrmming through my undergraduate course work. At that time we used to create simple shell script with using only cp, grep, head, tail, mv, rm command of Shell Programming. I had never encounter with the problem of script writing for which I need to debug the script in undergraduate course. While working with some problems of shell programing in Exling LLC, I encounterd a buggy script for which I need to debug a script. At that time, I learned some features of debugging a script. I had gained a pretty well idea on debugging a script. It is much easier and essential feature of shell scripting. It solves many problems for which people may have to wait and work for many days. I am including the buggy script first to show the  debugging features here: #!/bin/bash # a.sh # This is a buggy script. # Where, oh where is the error? a=37 if [$a -gt 27 ] then   echo $a fi  exit 0 There are two ways to debug a script f...