Tuesday, September 7, 2010

Top 10 Most Wanted Games of 2010


10. FIFA  11

 FIFA 10 was one of the greatest sports games of all time and 11 looks like it's taking it up a notch. The online is perfectly integrated into the single-player game. They're adding a ton of new custom moves that are specific to players so now it's gonna feel even more like the real players.
Release Date:  28 September 2010



 Ubisoft is good at creating really original multiplayer games. Spies vs. Mercs was one of the most addictive things I've ever done online; it just had no fan base. But Assassin's Creed is such a huge franchise now, maybe this original take on multiplayer will catch on and people will play something other than Call of Duty and Halo.
Release Date: 19 November 2010




The throwback vibe they have in this game has got me really excited for one reason: Metal Gear Solid 3 is my favorite game of all time and one of the main characters in Black Ops looks like Snake from that game. He's got the mullet with the headband, and I'll play anything that looks like Snake Eater.
Release Date: 9 November 2010




 With Cataclysm, Blizzard is creating some of the most exciting quests I've played in an MMO. It's got me interested in playing WoW again. I'm leveling up my beta characters with a lot of consideration – even though I know they're gonna be wiped when the beta stops. I think that's a pretty good sign that they've done something right here.
Release Date: Q4 2010




I'm a huge car and racing fan. I still play Forza 3 even though it came out a while ago but it doesn't have that "car porn" vibe that I'm looking for. Gran Turismo always has so many cars that are beautifully modeled.
Release Date: 3 November 2010
 


 I still have fond memories of the beach landing scene in the first Medal of Honor. I'm really hoping that EA can make this Medal of Honor something that can compete with Call of Duty.


Release Date: 12 October 2010





 I dumped about 85 hours into Fallout 3. I probably played more Fallout 3 DLC last year than any other game. So I'm looking forward to losing myself in that world again.



Release Date: 22 October 2010




The Civilization series has been the most consistently entertaining strategy franchise around. It's got a lot of depth and is always fun to play. I have no doubt that Civ V will do the same thing. The fact that they're actually changing up the formula a lot with Civ V is really interesting.
Release Date: 24 September 2010
 

The Need for Speed series has needed a reboot for a while. What we saw at E3 included cops, hot cars – there is even a Bugatti cop car, which is pretty much the most awesome thing I can imagine. It looks like the excitement of Need for Speed is back.
Release Date: 19 November 2010
 

1. Halo Reach

 This feels like the first real next-gen Halo game. Seems like Bungie is taking the fact that this is their last Halo game on the 360 to heart and they're really putting a lot more into it than they have in the past. The story aspect seems interesting. I like that it's gonna end in tragedy.
Release Date: 14 September 2010



Tuesday, August 10, 2010

How to Change Your Windows 7 Library Icons

In order to address the disorderly way most people catalogue their data, Windows 7 introduced a new system that let's users point a Library to various folders (Pictures or Documents, for example). All of the included folders can then be accessed in one uniformed location. This methodology displaces the older and rigid folder structure, which made it difficult to index files that were scattered throughout your drives.

As handy as the new Libraries functionality is, there's one glaring omission: we can't find an easy built-in way to change the Library icons. Granted, this isn't a major deal for some people because the four default Libraries (Documents, Music, Pictures and Videos) are sufficient for the average person's data and they have nice looking icons. However, if you add a new Library, you're stuck with a generic Windows 7-style documents icon, and that just won't fly with us perfectionists, will it?
Fret not. If you have five minutes and a shred of fortitude, we'll show you how to ditch that lame default icon. For now, decide whether you want to get your hands dirty (method #1) or you'd rather save a couple of minutes by using a utility (method #2). For what it's worth, we recommend going with the second route for the sake of simplicity. The process is much easier and it's not like you're going to impress anyone by dealing with a few script text files (and yet we will still show you).

Method #1 - The hard way:
1. Open a text editor (Notepad will do)

2. Go to the following Windows directory: %appdata%\microsoft\windows\libraries

3. Drag the Library icon you want to change into Notepad

Among the several lines of text that appear should be one that reads something like this: imageres.dll,-1001

Now, all you have to do is swap imageres.dll,-1001 for the directory or file where your icon is located, as well as its place within the file. For instance, the icon in the example below is located at imageres.dll,124 which seems to fit well for a Work-oriented Library.
Naturally, you won't know this information offhand, but the free application IconViewer will let you browse the contents of a DLL file and it will even give you an icon's location number. Once you've found your desired icon, save the changes in Notepad and your new icon will appear.

Method #2 - The easy way:
This method automates the above process with a simple GUI and even includes an icon viewer. All you have to do is download and run this utility, type in one of the DLL files mentioned below (or stick with the default imageres.dll), choose an icon, select the library you'd like to apply it to and click Select icon from dll.
It's worth mentioning that some icons look pretty terrible in the utility's icon browser, but they're actually attractive, high-res images. If you think something might fit your Library well, give it a chance before you dismiss it for being ugly, after all you can roll back any changes with the click of a button (Restore default icon).

Where to find icons within Windows?
For your reference, here are some additional DLLs with icons: ddores.dll (mostly hardware-related), shell32.dll (hundreds of assorted icons), wmp.dll (a few media-related icons), moricons.dll (various low-res, old school Windows icons).

Want more icons? Check these out: compstui.dll, mmcndmgr.dll, netshell.dll, pnidui.dll, wmploc.DLL, iconarchive.com, interfacelift.com, and as always, feel free to share your resources in the comments.

Thursday, May 13, 2010

Six Obscure Web Browsers You Might Love

It used to be that Firefox, Opera and others were the "alternative" Web browsers, but in an age of forced ballot screens that's not entirely accurate. In fact, one could say that the more experienced a user is the further and faster they run from Internet Explorer.

Excluding the "big five" you're undoubtedly familiar with (IE, Firefox, Chrome, Opera, and Safari), there are many little-known browsers that are potentially even more suitable for your needs, no matter how basic or advanced.

This week we are taking a look at six truly alternative browsers and what separates them from the rest of the pack. This is far from an all-inclusive list, and we'd love to hear if you happen to be using any of these yourself or perhaps there's yet another unheard of browser that we missed. In alphabetical order, the browsers:

1.Arora

Platforms: Windows, Mac OS X, Linux, BSD, Haiku
Engine: WebKit

Why you care: Arora is an open source, cross-platform program that has a sensible feature set for the average user, such as built-in ad blocking, private browsing, session management and anything else you might expect from a basic browser. It's a worthy alternative to Chrome (it's based on the same WebKit engine) if you're interested in a lightweight solution but want something not branded by Google.
Download: Windows, Mac OS X, Linux

2. Camino
 
Platforms: Mac OS X
Engine: Based on Gecko, written in Objective-C Cocoa

Why you care: Camino's on a mission to provide the best possible browsing experience for OS X users, and it has integrated support for many of the operating system's services, such as Keychain, Bonjour, and Growl. Considering its specialized feature set, it's certainly a worthwhile replacement for Safari, Firefox or any other browser you might be using on your Mac.
Download: OS X 10.4 or later

3. Flock

Platforms: Windows, Mac OS X, Linux
Engine: Gecko, Firefox codebase

Why you care: Flock has integrated features for popular social media services out of the box, including Facebook, Twitter, MySpace, YouTube, Flickr, Blogger, Gmail, and Yahoo Mail. Additionally, it's based on Firefox, so you should be familiar with it from the get-go. Some advanced users might still prefer Firefox along with an army of add-ons, but Flock could be useful for less tech savvy socialites.
Download: Windows, Mac OS X, Linux

4. K-Meleon

Platforms: Windows
Engine: Gecko

Why you care: K-Meleon's interface is extremely customizable and it uses a Windows native interface making it easy on system resources. You can consider this the Camino for Windows. Further optimized and portable derivatives are available, including one that claims it is the least resource intensive browser for Windows that uses an up-to-date rendering engine.
Download: Windows

5. Maxthon

Platforms: Windows
Engine: Trident

Why you care: Extremely popular in China, the browser has even received funding from well-known investors to continue its development. Maxthon crams a ton of features into the base install (sort of like Opera) without sacrificing the compatibility of IE's Trident rendering engine. Version 3.0 (currently in alpha) can switch between both Trident and WebKit to render Web pages.
Download: Windows

6. Pale Moon

Platforms: Windows
Engine: Gecko, Firefox codebase

Why you care: It's a Windows-optimized clone of Firefox that could offer you a slight performance boost -- up to 25% on some SunSpider rendering and scripting tests they claim, while using less system memory. The speed gains come without a catch, since the browser should work with most of your Firefox extensions. In fact, it should automatically detect and make use of your existing Firefox profile upon installation, so it's a hassle-free "migration."
Download: Windows

Friday, April 2, 2010

Trick to Show Your Name After Time in Taskbar

Try this trick to add up your name in place of AM and PM beside time
Its simple

Step-1:

Navigate to Start -> Control Pannel -> Regional and Language Option -> Click on Customize -> Go to TIME Tab -> Change AM symbol and PM symbol from AM and PM to your name ->Apply  Ok ...
Did It change? If not, follow step 2.

Step-2 :

Now go to time in taskbar and Double Click it to open "Date and time property" .Look place where time changes in digital form i.e. 02:47:52 AM , click to arrow to change the AM or PM by selecting and press arrow. It will Show your name or name that was entered by you, Apply , OK and be HAPPY

Change XP Start Button Name

I’ve read a number of articles on the internet about changing the text on the Start button in XP. On more than one occasion I’ve seen references to a five (5) letter limitation when the button is renamed. I always wondered if this was true or just an assumption someone made because the default ‘start’ just happened to fit the button size. So, I decided to run a test and see if there really was a five character limit.
First of all just u need to do is download Resource hacker.
Resource HackerTM is a freeware utility to view, modify, rename, add, delete and extract resources in 32bit Windows executables and resource files (*.res). It incorporates an internal resource script compiler and decompiler and works on Win95, Win98, WinME, WinNT, Win2000 and WinXP operating systems.

  Click here to go to the Download Page


First Step:

The first step is to make a backup copy of the file explorer.exe located at C:\Windows\explorer. Place it in a folder somewhere on your hard drive where it will be safe. Start Resource Hacker and open explorer.exe located at C:\Windows\explorer.exe
The category we are going to be using is String Table In Resource Hacker. Expand it by clicking the plus sign then navigate down to and expand string 37 followed by highlighting 1033. If you are using the Classic Layout rather than the XP Layout, use number 38. The right hand pane will display the stringtable as shown in Fig. 02. We’re going to modify item 578, currently showing the word “start” just as it displays on the current Start button.

There is no magic here. Just double click on the word “start” so that it’s highlighted, making sure the quotation marks are not part of the highlight. They need to remain in place, surrounding the new text that you’ll type. Go ahead and type your new entry

Second Step: 


Modify the Registry Now that the modified explorer.exe has been created it’s necessary to modify the registry so the file will be recognized when the user logs on to the system. If you don’t know how to access the registry I’m not sure this article is for you, but just in case it’s a temporary memory lapse, go to Start (soon to be something else) Run and type regedit in the Open: field. Navigate to:
HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows NT\ CurrentVersion\ Winlogon

the Right pane (Fig. 05), double click the Shell entry to open the Edit String dialog box as shown in Fig. 06. In Value data: line, enter the name that was used to save the modified explorer.exe file. Click OK.

Close Registry Editor and either log off the system and log back in, or reboot the entire system if that’s your preference. If all went as planned you should see your new Start button with the revised text.
 

Wednesday, March 10, 2010

Windows 7's hidden Features

Windows 7's headline features naturally get all the attention. If you have read anything about Microsoft's latest operating system, you probably already know that Windows 7 is faster, more compatible, and less annoying than Windows Vista. But Microsoft has also sneaked quite a few less visible but still noteworthy features into Windows 7. Here are a few.

1. Shake:
Let's say you have dozens of applications open on your Windows 7 desktop - so many, in fact, that that you have a difficult time sorting through them all, or you have difficulty concentrating on the foreground application because of everything else that's open. Sound familiar?In previous versions of Windows, you'd typically have to close all of those applications in order to get some sanity back into your desktop. Not anymore - thanks to the new feature dubbed "shake." True to its name, the feature is activated by grabbing the title bar of an open application with your mouse cursor and then "shaking" the program back and forth a few times. When you do, everything else that's open on your desktop is minimised automatically. Perform the shake operation again, and the clutter returns to your desktop, exactly as it was before.

2.Problem recorder:
How often have you had to try to describe a problem you are having with your Windows computer, and the person you are describing the problem to acts like you are talking in a foreign language? Or how often have you, as the local computer expert, had to rely on someone's fuzzy description of a problem?In Windows 7, there's help for both scenarios in the form of the new Problem Steps Recorder. In a nutshell, the Problem Steps Recorder, or PRS for short, will record exactly what you are doing on your PC that results in a problem. Optionally, you can use the tool's Add Comment feature to add a note about what issue you are experiencing. When you are finished, PRS packages up the recording in a compressed ZIP file. Open the ZIP file, and out pops an "mht" that can be viewed with Internet Explorer. To start PRS, just open the Windows 7 Start menu, and type "PRS." Click Start Record, and then walk through the steps that result in a problem. Click Stop Record, and you'll be asked to indicate a location on your hard drive where the zipped file will be created.

3.ISO burning:
For quite a while now, the preferred way to copy and store installation CDs and DVDs has been to create "ISO" files of the entire disk. An ISO file is a single image of the contents of the entire disk. To create an ISO file, you must use a third-party ISO creation tool such as UltraISO or the free ImgBurn. Reading ISO files also required a third-party tool, at least until now. Windows 7's new Windows Disc Image Burner, which comes free with all editions of Windows 7, allows the operating system to recognise ISO files and burn their contents to a CD or DVD drive. To activate Disc Image Burner, you merely double-click an ISO file..

4.BitLocker To Go:
USB flash drives are everywhere these days, and with good reason: they hold a lot of data, and they are small and convenient to carry. There's just one problem: anyone who happens upon your unencrypted flash drive can read whatever data you have stored there. And that could be a very big problem if you frequently transport sensitive information. The solution: Windows 7's BitLocker To Go technology, built into the Ultimate and Enterprise editions of the operating system. Using BitLocker To Go couldn't be easier. You simply plug your USB flash drive into a USB port, right-click the resulting drive in Windows Explorer, and select Turn on BitLocker from the pop-up menu. When you do, a BitLocker Drive Encryption dialog box appears, presenting you with the opportunity to password-protect the drive. You will then either save or print the BitLocker recovery key, and then BitLocker goes to work, encrypting your drive so that only someone with the recovery key can access it.


5.Sticky notes:
They might not be as technically sophisticated as BitLocker, but Windows 7's "sticky notes" are a useful little feature that will come in handy for many. Sticky notes will be familiar to many computer users: the stereotypical "geek" generally has these pasted all over the computer monitor. Thanks to Windows 7's implementation of electronic sticky notes, you can throw those paper ones away once and for all. Just open the Windows 7 Start menu, and type "sticky" to call up the shortcut that launches Sticky Notes. There's hardly any learning required to begin using them. Just type your notes onto the yellow sticky that appears. The note will stay stuck to your monitor until you specifically close the application. If you end up with a lot of sticky notes, you can make them different colours by right-clicking a =sticky and choosing a colour other than yellow. Keeping "to do" lists has never been so much fun.


6.Guest accounts:
If you occasionally share your computer but do not want others to be able to alter anything, you'll probably love the new Windows 7 Guest Account feature. If you activate Guest Accounts, you essentially allow anyone to log on to your PC as "guest." A guest will have his or her own desktop and settings - and yours will be kept completely private. Guests are not allowed to install any software or change any system settings. Nor are they allowed to write files to any directory outside of their special guest area. No doubt this concept will be very appealing to families in which kids often request use of a parent's computer.

7.Security Essentials:
While not officially a Windows 7 feature, Microsoft's free Security Essentials add-on (http://www.microsoft.com/Security_Essentials/) is a must-have for Windows 7 users who are tired of handing over hard-earned cash for subscriptions to commercial antivirus and anti-spyware packages. Security Essentials is the successor to Microsoft's first foray into the antivirus world, the now-discontinued OneCare product. Security Essentials appears to be every bit as unobtrusive and reliable as OneCare. Plus, with the backing of the Microsoft Malware Protection Centre (MMPC), Microsoft appears to be engaging full-throttle in the competitive antivirus software arena. Given Security Essential's price (free), Microsoft's name, and the product's apparent competence, Security Essentials removes any remaining excuses Windows users might have about not implementing security software.

Wednesday, February 17, 2010

Enable Windows 7's Hidden "God Mode"

As indicated by enthusiasts around the Web, there is a simple way to access a hidden "God Mode" in Windows 7. With a name like that, your expectations might be a little high -- and no, Windows is not secretly invincible -- but the trick is awesome nevertheless.

"God Mode" simply provides users with a centralized Control Panel for all of Windows' settings, from changing your desktop background to setting up a VPN or partitioning your hard drive. In all, there are nearly 50 categories and most have several entries.

1.Create a new folder.


2.Rename the folder to: CROSSFIRE.{ED7BA470-8E54-465E-825C-99712043E01C}



3.The default folder icon will change to a Control Panel icon, and you can open it to view all of the settings.




A list of other commands that also create special folders.

CROSSFIRE.{00C6D95F-329C-409a-81D7-C46C66EA7F33}
CROSSFIRE.{0142e4d0-fb7a-11dc-ba4a-000ffe7ab428}
CROSSFIRE.{025A5937-A6BE-4686-A844-36FE4BEC8B6D}
CROSSFIRE.{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9}
CROSSFIRE.{1206F5F1-0569-412C-8FEC-3204630DFB70}
CROSSFIRE.{15eae92e-f17a-4431-9f28-805e482dafd4}
CROSSFIRE.{17cd9488-1228-4b2f-88ce-4298e93e0966}
CROSSFIRE.{1D2680C9-0E2A-469d-B787-065558BC7D43}
CROSSFIRE.{1FA9085F-25A2-489B-85D4-86326EEDCD87}
CROSSFIRE.{208D2C60-3AEA-1069-A2D7-08002B30309D}
CROSSFIRE.{20D04FE0-3AEA-1069-A2D8-08002B30309D}
CROSSFIRE.{2227A280-3AEA-1069-A2DE-08002B30309D}
CROSSFIRE.{241D7C96-F8BF-4F85-B01F-E2B043341A4B}
CROSSFIRE.{4026492F-2F69-46B8-B9BF-5654FC07E423}
CROSSFIRE.{62D8ED13-C9D0-4CE8-A914-47DD628FB1B0}
CROSSFIRE.{78F3955E-3B90-4184-BD14-5397C15F1EFC}

Thursday, January 14, 2010

How to make free international calls anywhere in the world.

This is huge! You can now make free international calls anywhere in the world. It doesn't matter where you live, you can now make totally free international calls anywhere you like.

1) FREE411 service toll-free number is based in USA. All you have to do is to make a call to this toll-free number using Yahoo Messenger, skype etc.

2)The best however is Yahoo Messenger-Voice. Yes, not many people know that Yahoo Voice can be used to make unlimited toll-free calls to any toll-free number in USA from anywhere in the world and you do not need a yahoo voice paid account.
Just go to yahoo messenger and dial 18003733411. Your call will be connected and you would notice a prompt, which says there is no charge for this call. Cool huh?

3) Now The operator will greet you with a welcome message and ask you to select one of the FREE411 service. The Last option is Free Call. You don't have to press any number or key to select but instead say FREE CALL loudly in your phone. you will go to next step to actually make a free international call. Now they will run a short ad about 5 secs. When the ad stops, you can start dialing your international number in countycode+citycode (if any)+phone number format. The call will be automatically placed to the desired number. The operator prompts your call is getting connected. Once connected you can talk for upto 5 minutes and then your call is disconnected.


You can make multiple calls using this service.


Please note that this service is totally advertisement based so please do not abuse/violate the system.

Wednesday, December 16, 2009

Easter eggs in Windows XP



A virtual Easter egg is an intentional hidden message, in-joke or feature in an object such as a movie, book, CD, DVD, computer program, web page or video game. Easter eggs are messages, videos, graphics, sound effects, or an unusual change in program behavior that sometimes occur in a software program in response to some undocumented set of commands, mouse clicks, keystrokes or other stimuli intended as a joke or to display program credits.

An Easter Egg is found on all Microsoft Windows Operating Systems . In the 3D Text screen saver, entering the text "volcano" will display the names of all the volcanoes in the United States. Microsoft removed this Easter Egg in XP but added others.

Windows XP had a candy cane pipe screensaver. To access it, do the following.


In screensaver menu select 3D Pipes.

1. Go to its settings.

2. In the surface style category bubble in texture by clicking on it.

3. Click choose texture.

4. When choose texture opens click cancel.

5. Click OK in the settings.

6. Then the pipes will be candy cane
 
 
Windows XP Pinball game:


Open Pinball program

1. Type "hidden test" (lower case, including space)

2. Left click the ball with cursor and hold the button down.

3. Now you can move the ball with your mouse.
 
 
Windows XP- Easter Egg Star Wars ASCII Art on Telnet:

1. Open Windows XP and go to Start, then run.

2. Type in or copy "telnet towel.blinkenlights.nl" without the quotes.

3. Sit back and watch the ASCII movie that someone's made for us.
 
 
Some more Windows XP easter eggs and tricks.

1. IExpress
Hidden Install Creator

Instructions - Go to Start, Run, type iexpress

2. MS-DOS Editor
Hidden Text Editor

Instructions - Go to Start, Run, type edit

3. Netmeeting
Hidden Internet Conference Application

Instructions - Go to Start, Run, type conf
 
4. Private Character Editor
Hidden Font Editor 
 
Instructions - Go to Start, Run, type eudcedit 
 
5. Windows Chat
Hidden Windows Chat Program 
 
Instructions - Go to Start, Run, type winchat

6. Windows Media Player 5.1
Hidden Windows Media Player

Instructions - Go to Start, Run, type mplay32

Saturday, November 21, 2009

Windows Se7en Keyboard Shortcuts


Keyboard shortcuts are combinations of two or more keys that, when pressed, can be used to perform a task that would typically require a mouse or other pointing device. Keyboard shortcuts can make it easier to interact with your computer, saving you time and effort as you work with Windows and other programs.



Windows 7 Keyboard Shortcut List




Win+UP Arrow           :- Maximize the current window

Win+Down Arrow      :- If the current window is maximized, restore it; if the current window is restored, minimize it

Win+Left Arrow          :- Dock the current window to the left half of the screen

Win+Right Arrrow       :- Dock the current window to the right half of the screen

Win+Home                  :- Minimize all but the current window

Win+P                         :- Open the projection menu (generally used for laptops connected to projectors)

Alt+F4                        :- Close the active window

Alt+Tab                      :- Switch to previous active window

Alt+Esc                       :- Cycle through all open windows

Win+Tab                     :- Flip 3D

Ctrl+Win+Tab             :- Persistent Flip 3D

Win+T                        :- Cycle through applications on taskbar (showing its live preview)

Win+M                       :- Minimize all open windows

Win+Shift+M              :- Undo all window minimization

Win+D                        :- Toggle showing the desktop

Win+Up Arrow           :- Maximize the current window

Win+Down Arrow      :- If the current window is maximized, restore it; if the current window is restored, minimize it

Win+Left Arrow          :- Dock the current window to the left half of the screen

Win+Right Arrow        :- Dock the current window to the right half of the screen

Win+Home                  :- Minimize all but the current window

*( I will update this list as an when I get more keyboard shortcuts for windows 7 )

Saturday, October 17, 2009

How to lock a folder with a password without a software in Xp


Steps:


1- make a new folder ( name it as you like )

2- inside this folder make a text file & copy inside it this (the entire test below)


: cls

@ECHO OFF

title Folder Private

if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK

if NOT EXIST Private goto MDLOCKER

:CONFIRM

echo Are you sure you want to lock the folder(Y/N)

set/p "cho=>"

if %cho%==Y goto LOCK

if %cho%==y goto LOCK

if %cho%==n goto END

if %cho%==N goto END

echo Invalid choice.

goto CONFIRM

:LOCK

ren Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

echo Folder locked

goto End

:UNLOCK

echo Enter password to unlock folder

set/p "pass=>"

if NOT %pass%== Crossfire here goto FAIL

attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private

echo Folder Unlocked successfully

goto End

:FAIL

echo Invalid password

goto end

:MDLOCKER

md Private

echo Private created successfully

goto End

:End



3- After u copy the Commanding go to line 23 (or try using shortcut- CTRL+F and type Crossfire to locate the line) u will find this word : Crossfire here (Change it with any password u like.) is :

eg:

if NOT %pass%== Crossfire goto FAIL

//Change Crossfire to anything you want.//


4- After that go to file->save as & name this file as "locker.bat "

5- Now back to the folder & u will find a ( LOCKER ) commanding.(A bat file)
6- Double Click on it & u will find a new folder (Private )

7- Ok ,, now copy what u want in this "private Folder" & after that come out of the folder, and Double click on locker again. It will open and ask if you want to lock your folder? Y/N ?

8- Type Y. your private folder will dissapear.

9- If you want to UNLOCK your folder ,go to (locker) & type your pass and you will see your private folder.

(It not only hides the folder, but incase, u unhide all files... and try opening it without entering password, it'll take u to the control panel...

Also, if u want to store files on your Pen-Drive, u can use this script. No Software Required

Incase u delete your Locker file (just in case), then u can make a new one (but with the same password) and open it from that.

Alternatively, u can keep this locker file somewhere else, and when u want to open ur folder, only then bring it back to that place ..
)

Friday, September 11, 2009

PC Maintenance Guide

"Take good care of your PC, and it will take good care of you."-CrossFire




It's a nice sentiment, but reality is more like "Take good care of your PC, and it won't crash, lose your data, and cost you your job--probably." Follow these steps to stop PC problems before they stop you.



Your PC's two mortal enemies are heat and moisture. Excess heat accelerates the deterioration of the delicate circuits in your system. The most common causes of overheating are dust and dirt: Clogged vents and CPU cooling fans can keep heat-dissipating air from moving through the case, and even a thin coating of dust or dirt can raise the temperature of your machine's components.



Any grime, but especially the residue of cigarette smoke, can corrode exposed metal contacts. That's why it pays to keep your system clean, inside and out.



If your PC resides in a relatively clean, climate-controlled environment, an annual cleaning should be sufficient. But in most real-world locations, such as dusty offices or shop floors, your system may need a cleaning every few months.



All you need are lint-free wipes, a can of compressed air, a few drops of a mild cleaning solution such as Formula 409 or Simple Green in a bowl of water, and an antistatic wrist strap to protect your system when you clean inside the case.



Think Outside the Box



Before you get started cleaning, check around your PC for anything nearby that could raise its temperature (such as a heating duct or sunshine coming through a window). Also clear away anything that might fall on it or make it dirty, such as a bookcase or houseplants.



Always turn off and unplug the system before you clean any of its components. Never apply any liquid directly to a component. Spray or pour the liquid on a lint-free cloth, and wipe the PC with the cloth.



Clean the case: Wipe the case and clear its ventilation ports of any obstructions. Compressed air is great for this, but don't blow dust into the PC or its optical and floppy drives. Keep all cables firmly attached to their connectors on the case.



Maintain your mechanical mouse: When a nonoptical mouse gets dirty, the pointer moves erratically. Unscrew the ring on the bottom of the unit and remove the ball. Then scrape the accumulated gunk off the two plastic rollers that are set 90 degrees apart inside the ball's housing.



Keep a neat keyboard: Turn the keyboard upside down and shake it to clear the crumbs from between the keys. If that doesn't suffice, blast it (briefly) with compressed air. If your keys stick or your keyboard is really dirty, pry the keys off for easier cleaning. Computer shops have special tools for removing keys, but you can also pop them off by using two pencils with broken tips as jumbo tweezers--just be sure to use a soft touch.



Make your monitor sparkle: Wipe the monitor case and clear its vents of obstructions, without pushing dust into the unit. Clean the screen with a standard glass cleaner and a lint-free cloth. If your monitor has a degauss button (look for a small magnet icon), push it to clear magnetic interference. Many LCDs can be cleaned with isopropyl alcohol; check with your LCD manufacturer. Wipe your LCD lightly: The underlying glass is fragile.



Check your power protection: Reseat the cables plugged into your surge protector. Check the unit's warning indicator, if it has one. Surge protectors may power your PC even after being compromised by a voltage spike (making your system susceptible to a second spike). If your power protector doesn't have a warning indicator and your area suffers frequent power outages, replace it with one that has such an indicator and is UL 1449 certified.



Swipe your CD and DVD media: Gently wipe each disc with a moistened, soft cloth. Use a motion that starts at the center of the disc and then moves outward toward the edge. Never wipe a disc in a circular motion.



Inside the Box



Before cracking open the case, turn off the power and unplug your PC. Ground yourself before you touch anything inside to avoid destroying your circuitry with a static charge. If you don't have a grounding wrist strap, you can ground yourself by touching any of various household objects, such as a water pipe, a lamp, or another grounded electrical device. Be sure to unplug the power cord before you open the case.



Use antistatic wipes to remove dust from inside the case. Avoid touching any circuit-board surfaces. Pay close attention to the power-supply fan, as well as to the case and to CPU fans, if you have them. Spray these components with a blast of compressed air to loosen dust; but to remove the dust rather than rearrange it, you should use a small vacuum.



If your PC is more than four years old, or if the expansion cards plugged into its motherboard are exceptionally dirty, remove each card, clean its contacts with isopropyl alcohol, and reseat it. If your system is less than a couple years old, however, just make sure each card is firmly seated by pressing gently downward on its top edge while not touching its face. Likewise, check your power connectors, EIDE connectors, and other internal cables for a snug fit.



While you have the case open, familiarize yourself with the CMOS battery on the motherboard. For its location, check the motherboard manual. If your PC is more than four or five years old, the CMOS battery may need to be replaced. (A system clock that loses time is one indicator of a dying CMOS battery.)



Look for Trouble



Give your PC a periodic checkup with a good hardware diagnostic utility. Two excellent choices are Sandra Standard from SiSoftware and #1-TuffTest-Lite from #1-PC Diagnostics. Download the free version of Sandra (the full version of the application costs $35) or to download #1-TuffTest-Lite (the fully functional version is $10).



Sandra Standard:

CODE

http://www.pcworld.com/downloads/file/fid,4005-order,1-page,1-c,alldownloads/description.html?tk=ur





#1-TuffTest-Lite:

CODE

http://www.pcworld.com/downloads/file/fid,7725-order,1-page,1-c,alldownloads/description.html?tk=ur





Adding and removing system components leaves orphaned entries in the Windows Registry. This can increase the time your PC takes to boot and can slow system performance. Many shareware utilities are designed to clean the Registry.



Windows stores files on a hard drive in rows of contiguous segments, but over time the disk fills and segments become scattered, so they take longer to access. To keep your drive shipshape, run Windows' Disk Defragmenter utility. Click Start, Programs (All Programs in XP), Accessories, System Tools, Disk Defragmenter. If your drive is heavily fragmented, you could boost performance. Defragging may take hours, however. Disable your screen saver and other automatic programs beforehand to keep the defrag from restarting every few minutes.



Disk Defragmenter won't defragment the file on your hard drive that holds overflow data from system memory (also known as the swap file). Since the swap file is frequently accessed, defragmenting it can give your PC more pep. You can defragment your swap file by using a utility such as the SpeedDisk program included with Norton SystemWorks 2004, but there's a way to reset it in Windows.



In Windows XP, right-click My Computer and choose Properties. Click Advanced, and then choose the Settings button under Performance. Click Advanced again and the Change button under Virtual Memory. Select another drive or partition, set your swap file size, and click OK.



If you have only one partition and no way to create a second one, and you have at least 256MB of RAM, disable the swap file rather than moving it: Select "No paging file" in the Virtual Memory settings. If you have trouble booting, start Windows in Safe Mode and re-enable this option.



Hard-Drive Checkup

Windows XP offers a rudimentary evaluation of your hard disk's health with its error-checking utility: Right-click the drive's icon in Windows Explorer and select Properties, Tools, Check Now. (Windows can fix errors and recover bad sectors automatically if you wish.) If the check discovers a few file errors, don't worry, but if it comes up with hundreds of errors, the drive could be in trouble.



To conduct a more thorough examination, download Panterasoft's free HDD Health utility, which monitors hard-drive performance and warns of impending disaster:

CODE

http://www.pcworld.com/downloads/file/fid,22945-order,1-page,1-c,alldownloads/description.html?tk=ur





The program works only with drives that support S.M.A.R.T technology, but nearly all drives released since 2000 are S.M.A.R.T.-compliant.



Many hardware and software designers humbly assume you want their program running on your PC all the time, so they tell Windows to load the application at startup (hence, the ever-growing string of icons in your system tray). These programs eat up system resources and make hardware conflicts and compatibility problems more likely. To prevent them from launching, just click Start, Run, type "msconfig" and press Enter. The programs listed under the Startup tab are set to start along with Windows. Uncheck the box at the left of each undesirable program to prevent it from starting automatically.



Four Tips for Longer PC Life



1. Keep your PC in a smoke-free environment. Tobacco smoke can damage delicate contacts and circuits.



2. Leave your PC running. Powering up from a cold state is one of the most stressful things you can do to your system's components. If you don't want to leave your PC running all the time, use Windows' Power Management settings to put your machine into hibernation rather than completely shutting down. In Windows XP, right-click the desktop and select Properties. Click the Screen Saver tab and select the Power button. Choose the Hibernate tab to ensure that hibernation is enabled, and then select a time beneath "System hibernates" under the Power Schemes tab. (Note that this option is not available on all PCs.) Computers running older versions of Windows may or may not provide similar power-management features. Look under the Power Management icon (Power Options in Windows 2000) in Control Panel to evaluate your machine's capabilities.



3. Don't leave your monitor running. The best way to extend your display's life is to shut it off when it's not in use.



4. Avoid jostling the PC. Whenever you move your system, even if it's just across the desktop, make sure the machine is shut down and unplugged.

Sunday, September 6, 2009

Shortcut for Windows XP

Have you ever wanted to create shortcuts for the most common actions like shutdown, hibernate or restart etc on your desktop.
That you could fire up all these commands just by clicking a shortcut placed on your desktop.

Now to actually make the shortcut right click your desktop and choose New
Shortcut. Next, type this case-sensitive command into the dialog box

Shutdown:

SHUTDOWN -s -t 01

Restart:

SHUTDOWN -r -t 01

LogOff:

rundll32 user32.dll,LockWorkStation

Hibernate:

rundll32.exe PowrProf.dll,SetSuspendState

ScreenSaver

C:\WINDOWS\system32\sstext3d.scr -s

click next. Give the shortcut a name and click finish. From now on all you need to do to double click the shortcut.

Monday, August 24, 2009

Linux Tips and Tricks


Speeding up your hard drive (#1)

Get faster file transfer by using 32-bit transfers on your hard drive
Just add the line:
hdparm -c3 /dev/hdX
to a bootup script.
If you use SuSE or other distros based on SYS V,
/sbin/init.d/boot.localshould work for you.
This enables 32-bit transfer on your hard drive. On some systems it can improve transfer performance by 75%.
To test your performance gain, type:
hdparm -t -T /dev/hdX



Protecting yourself from being a spam base(#2)

Sendmail allows for someone to telnet to port 25 and do an expn (expand) to see what users and aliases are on your machine. Also, vrfy (verify) means someone can get legal e-mail addresses from your box and send spam through your machine.
Don't want that, so look in your /etc/sendmail.cf file for a line that looks like this:
################ Options ################
Now cut and paste these next few lines below that:
# turning off the expand option and requiring a helo from# a remote computerOpnoexpn,novrfy,needmailhelo
Now there is no expansion, no verify, and sendmail requires a helo with a legitimate DNS in order to use the mailer.
Then look in your /etc/mail/aliases file and ensure you have only your own boxen and/or subnet in there as OK or RELAY. That will help cut down on spammers' ability to find relay machines to do their dirty work for them.



Cleaning up Netscape crashes(#3)

You have a tip about Netscape leaving copies of itself running below, but you can make a general shell script to clean up a Netscape crash like this:
#!/bin/sh#kill.netscapekillall -9 netscaperm ~/.netscape/lock
Then all your users can use it and clean up the dreaded hundred instances of Netscape running when it crashed. Change netscape to netscape-communicator or netscape-navigator as appropriate



More DOS-like commands(#4)

Many people are moving to Linux because they miss the stability of good old DOS. In that light, many users are typing DOS commands (which originated from UNIX in the first place) that look fine but cause errors. The command "cd.." in DOS is perfectly valid, but Linux balks. This is because "cd" is a command, and any parameter for that command must be separated from the command by a space. The same goes for "cd/" and "cd~". A quick fix is here.
Use your favorite text editor in your home directory to edit the file ".bashrc". The period is there on purpose, this hides the file from normal ls display.
Add the lines:
alias cd/="cd /"alias cd~="cd ~"alias cd..="cd .."
And I usually add these...
alias md="mkdir"alias rd="rmdir -i"alias rm="rm -i"
and my first and still favorite alias...
alias ls="ls --color"
alias is a powerful tool, and can be used in the .bashrc script as well as from the command line. You can, if you want to spend the time, create your own group of shell commands to suit how you work. As long as you put them in your .bashrc file, they'll be there everytime you log in. Note that if you frequently log in as root, you might want to copy /home/username/.bashrc to /root/.bashrc to keep yourself sane.



Resurrecting corrupted floppies(#5)

Here's how to make a floppy disk with "track-0 bad" reusable again:
If the track zero of a floppy disk is found to be bad, no DOS or Windows utility is going to do anything about it--you just have to throw it in your unrecycle bin.
This tip cannot recover the data, but can make the disk carry things again, at least for the time being (moments of desperation).
How to:
(A) Format the disk with Linux. Build a Linux file system (don't use mformat). I did this some time before by invoking the makebootdisk command (in Slakware) and stopped after the formatting was over. There should be better ways to do it in RedHat 5.2 or other recent versions.
( Reformat the disk with Windows. Use the DOS window and the /u option while formatting.



Using DOS-like commands(#6)

There's a package called mtools which is included with most of the distributions out there.
There are several commands for basic DOS stuff. For example, to directory the floppy drive, type mdir a:. This is rather handy--you don't need to mount the floppy drive to use it.
Other commands are: mattrib , mcd, mcopy, mdel, mformat, mlabel, mren (rename), mmd, mrd, and mtype.
This doesn't work for reading from hard disks. In that case, you would add entries to /etc/fstab, drive type msdos for fat16 partitions, and vfat for fat32.



Copying files from Linux to Windows 98 or 95B (FAT32)(#7)

It's as easy as installing the program explore2fs. It uses a Windows Explorer interface and supports drag-and-drop. I have found it reliable and useful for migrating files from my RedHat 6.1 partition to my Win95B partition quickly and with a minimum of fuss.
It's available free--as all software should be--from this URL:CODE http://www.softpedia.com/get/Programming/Other-Programming-Files/Explore2fs.shtml


Installing in partitions(#8)

I am using SuSE Linux, which has some interesting options (I don't know if RedHat or other distributions offer you this, too).
1. You can install Linux on a single file in your Windows Partition. Nice to try it out, but I guess it is not that fast then. You can load it then with a DOS program, loadlin.
2. Use Fips or Partition Magic. Defragment your hard drive (you should do this for Point 1, too) and split it up. I guess most users just have one partition, which you should split up into at least three: one for the Linux files, and a smaller swap partition (take about 32 to 64 MB, depending on your RAM--less RAM needs bigger swap partitions). If you decide later to deinstall Linux you can always delete both partitions and create one big one for Windows again.
Fips is a stupid command line program, but if you're too lazy to read at least a little bit, then you should stop thinking about Linux anyway...



Command Pipelines(#9)

Pipes are easy. The Unix shells provide mechanisms which you can use them to allow you to generate remarkably sophisticated `programs' out of simple components. We call that a pipeline. A pipeline is composed of a data generator, a series of filters, and a data consumer. Often that final stage is as simple as displaying the final output on stdout, and sometimes the first stage is as simple as reading from stdin. I think all shells use the "" character to separate each stage of a pipeline. So:
data-generator filter ... filter data-consumer
Each stage of the pipeline runs in parallel, within the limits which the system permits. Hey, look closely, because that last phrase is important. Are you on a uni-processor system because if you are, then obviously only one process runs at a time, although that point is simply nitpicking. But pipes are buffers capable of holding only finite data. A process can write into a pipe until that pipe is full. When the pipe is full the process writing into it blocks until some of the data already in the pipe has been read. Similarly, a process can read from a pipe until that pipe is empty. When it's empty the reading process is blocked until some more data has been written into the pipe.



What is IP masquerading and when is it of use?(#10)

IP masquerading is a process where one computer acts as an IP gateway for a network. All computers on the network send their IP packets through the gateway, which replaces the source IP address with its own address and then forwards it to the internet. Perhaps the source IP port number is also replaced with another port number, although that is less interesting. All hosts on the internet see the packet as originating from the gateway.
Any host on the Internet which wishes to send a packet back, ie in reply, must necessarily address that packet to the gateway. Remember that the gateway is the only host seen on the internet. The gateway rewrites the destination address, replacing its own address with the IP address of the machine which is being masqueraded, and forwards that packet on to the local network for delivery.
This procedure sounds simple, and it is. It provides an effective means by which you can provide second class internet connections for a complete LAN using only one (internet) IP address.



Setting UTC or local time(#11)

When Linux boots, one of the initialisation scripts will run the /sbin/hwclock program to copy the current hardware clock time to the system clock. hwclock will assume the hardware clock is set to local time unless it is run with the --utc switch. Rather than editing the startup script, under Red Hat Linux you should edit the /etc/sysconfig/clock file and change the ``UTC'' line to either ``UTC=true'' or ``UTC=false'' as appropriate.



Setting the system clock(#12)

To set the system clock under Linux, use the date command. As an example, to set the current time and date to July 31, 11:16pm, type ``date 07312316'' (note that the time is given in 24 hour notation). If you wanted to change the year as well, you could type ``date 073123161998''. To set the seconds as well, type ``date 07312316.30'' or ``date 073123161998.30''. To see what Linux thinks the current local time is, run date with no arguments.



Setting the hardware clock(#13)

To set the hardware clock, my favourite way is to set the system clock first, and then set the hardware clock to the current system clock by typing ``/sbin/hwclock --systohc'' (or ``/sbin/hwclock --systohc --utc'' if you are keeping the hardware clock in UTC). To see what the hardware clock is currently set to, run hwclock with no arguments. If the hardware clock is in UTC and you want to see the local equivalent, type ``/sbin/hwclock --utc''



Setting your timezone(#14)

The timezone under Linux is set by a symbolic link from /etc/localtime[1] to a file in the /usr/share/zoneinfo[2] directory that corresponds with what timezone you are in. For example, since I'm in South Australia, /etc/localtime is a symlink to /usr/share/zoneinfo/Australia/South. To set this link, type:
ln -sf ../usr/share/zoneinfo/your/zone /etc/localtime
Replace your/zone with something like Australia/NSW or Australia/Perth. Have a look in the directories under /usr/share/zoneinfo to see what timezones are available.
[1] This assumes that /usr/share/zoneinfo is linked to /etc/localtime as it is under Red Hat Linux.
[2] On older systems, you'll find that /usr/lib/zoneinfo is used instead of /usr/share/zoneinfo. See also the later section ``The time in some applications is wrong''.



Zombies(#15)

What are these zombie processes that show up in ps? I kill them but they don't go away!
Zombies are dead processes. You cannot kill the dead. All processes eventually die, and when they do they become zombies. They consume almost no resources, which is to be expected because they are dead! The reason for zombies is so the zombie's parent (process) can retrieve the zombie's exit status and resource usage statistics. The parent signals the operating system that it no longer needs the zombie by using one of the wait() system calls.
When a process dies, its child processes all become children of process number 1, which is the init process. Init is ``always'' waiting for children to die, so that they don't remain as zombies.
If you have zombie processes it means those zombies have not been waited for by their parent (look at PPID displayed by ps -l). You have three choices: Fix the parent process (make it wait); kill the parent; or live with it. Remember that living with it is not so hard because zombies take up little more than one extra line in the output of ps.



How do i give users an ftp only account (no telnet, etc).(#16)


give them shell which doesn't work, but is listed in /etc/shellsfor example /bin/false...


How to do backup with tar?(#17)

You can mantain a list of files that you with to backup into a file and tarit when you wish.
tar czvf tarfile.tar.gz -T list_file
where list_file is a simple list of what you want to include into the tar
i.e:
/etc/smb.conf/root/myfile/etc/ppp (all files into the /etc/ppp directory)/opt/gnome/html/gnome-dev-info.html



How to keep a computer from answering to ping?(#18)


a simple "echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all" will do thetrick... to turn it back on, simply"echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_all"



Customizing your directory colors.(#19)

I know a lot of you know the command ls --color. Which displays your directory with colors. But, a lot of people may not know that those colors are customizable. All you need to do is add the following line to your /etc/bashrc file.
eval `dircolors /etc/DIR_COLORS`
And then all of the color configuration can be found in the file /etc/DIR_COLORS


Frozen Xwindow(#20)

If your Xwindow freezes sometimes, here are two ways that you may try to kill your server. The first is the simple simple way of killing your X server the key combination: Ctrl+Alt+Backspace
The second way is a little more complicated, but it works most of the time. Hit Ctrl+Alt+F2 to startup a virtual console, then log in with your user name and password and run:

# ps -ax grep startx

This will give you the PID of your Xserver. Then just kill it with:

# kill -9 PID_Number

To go back to your first console, just hit Alt-F1


Converting all files in a directory to lowercase.(#21)

#!/bin/sh# lowerit# convert all file names in the current directory to lower case# only operates on plain files--does not change the name of directories# will ask for verification before overwriting an existing filefor x in `ls`doif [ ! -f $x ]; thencontinuefilc=`echo $x tr '[A-Z]' '[a-z]'`if [ $lc != $x ]; thenmv -i $x $lcfidone
Wow. That's a long script. I wouldn't write a script to do that; instead, I would use this command:
for i in * ; do [ -f $i ] && mv -i $i `echo $i tr '[A-Z]' '[a-z]'`;done;
on the command line.



Script to view those compressed HOWTOs.(#22)

From a newbie to another, here is a short script that eases looking for and viewing howto documents. My howto's are in /usr/doc/faq/howto/ and are gzipped. The file names are XXX-HOWTO.gz, XXX being the subject. I created the following script called "howto" in the /usr/local/sbin directory:
#!/bin/shif [ "$1" = "" ]; thenls /usr/doc/faq/howto lesselsegunzip -c /usr/doc/faq/howto/$1-HOWTO.gz lessfi
When called without argument, it displays a directory of the available howto's. Then when entered with the first part of the file name (before the hyphen) as an argument, it unzips (keeping the original intact) then displays the document.For instance, to view the Serial-HOWTO.gz document, enter:
$ howto Serial


Util to clean up your logfiles.(#23)

If you're like me, you have a list with 430 subscribers, plus 100+ messages per day coming in over UUCP. Well, what's a hacker to do with these huge logs? Install chklogs, that's what. Chklogs is written by Emilio Grimaldo, and the current version 2.0-3 available from http://www.filewatcher.com/b/ftp/ftp.eutelia.it/pub/Sunsite_Mirror/system/admin/log.0.0.html . It's pretty self explanatory to install(you will, of course, check out the info in the doc subdirectory). Once you've got it installed, add a crontab entry like this:
# Run chklogs at 9:00PM daily.00 21 * * * /usr/local/sbin/chklogs -m



Handy Script to Clean Up Corefiles.(#24)

Create a file called rmcores(the author calls it handle-cores) with the following in it:
#!/bin/shUSAGE="$0 "
if [ $# != 2 ] ; thenecho $USAGEexitfi
echo Deleting...find $1 -name core -atime 7 -print -type f -exec rm {} \;
echo e-mailingfor name in `find $1 -name core -exec ls -l {} \; cut -c16-24`doecho $namecat $2 mail $namedone
And have a cron job run it every so often.


Moving directories between filesystems.Quick way to move an entire tree of files from one disk to another (#25)

(cd /source/directory && tar cf - . ) (cd /dest/directory && tar xvfp -)
[ Change from cd /source/directory; tar....etc. to prevent possibility of trashing directory in case of disaster.]



Finding out which directories are the largest.Ever wondered which directories are the biggest on your computer? Here's how to find out.(#26)

du -S sort -n



How do I stop my system from fscking on each reboot?(#27)

When you rebuild the kernel, the filesystem is marked as 'dirty' and so your disk will be checked with each boot. The fix is to run:
rdev -R /zImage 1
This fixes the kernel so that it is no longer convinced that the filesystem is dirty.
Note: If using lilo, then add read-only to your linux setup in your lilo config file (Usually /etc/lilo.conf)



How to avoid fscks caused by "device busy" at reboot time.(#28)

If you often get device busy errors on shutdown that leave the filesystem in need of an fsck upon reboot, here is a simple fix:To /etc/rc.d/init.d/halt or /etc/rc.d/rc.0, add the line
mount -o remount,ro /mount.dir
for all your mounted filesystems except /, before the call to umount -a. This means if, for some reason, shutdown fails to kill all processes and umount the disks they will still be clean on reboot. Saves a lot of time at reboot for me.


How to find the biggest files on your hard-drive.(#29)


ls -l sort +4n
Or, for those of you really scrunched for space this takes awhile but works great:
cd /ls -lR sort +4n



A script for cleaning up after programs that create autosave and backup files.(#30)

Here is a simple two-liner which recursively descends a directory hierarchy removing emacs auto-save (#) and backup (~) files, .o files, and TeX .log files. It also compresses .tex files and README files. I call it 'squeeze' on my system.
#!/bin/sh#SQUEEZE removes unnecessary files and compresses .tex and README files#By Barry tolnas, tolnas@sun1.engr.utk.edu#echo squeezing $PWDfind $PWD \( -name \*~ -or -name \*.o -or -name \*.log -or -name \*\#\) -execrm -f {} \;find $PWD \( -name \*.tex -or -name \*README\* -or -name \*readme\* \) -exec gzip -9 {} \;



How to find out what process is eating the most memory.(#31)

ps -aux sort +4n
-OR-ps -aux sort +5n


How do I find which library in /usr/lib holds a certain function?(#32)

What if you're compiling and you've missed a library that needed linking in? All gcc reports are function names... Here's a simple command that'll find what you're looking for:
for i in *; do echo $i:;nm $igrep tgetnum 2>/dev/null;done
Where tgetnum is the name of the function you're looking for.
I compiled a small test program in C, but when I run it, I get no output!(#32)You probably compiled the program into a binary named test, didn't you? Linux has a program called test, which tests if a certain condition is true, it never produces any output on the screen. Instead of just typing test, try: ./test