Skip to main content

Posts

Showing posts from 2009

Linux Command

Privileges sudo command - run command as root sudo su - open a root shell sudo su user - open a shell as user sudo -k - forget sudo passwords gksudo command - visual sudo dialog (GNOME) kdesudo command - visual sudo dialog (KDE) sudo visudo - edit /etc/sudoers gksudo nautilus - root file manager (GNOME) kdesudo konqueror - root file manager (KDE) passwd - change your password Display sudo /etc/init.d/gdm restart - restart X (GNOME) sudo /etc/init.d/kdm restart - restart X (KDE) (file) /etc/X11/xorg.conf - display configuration sudo dpkg-reconfigure -phigh xserver-xorg - reset X configuration Ctrl+Alt+Bksp - restart X display if frozen Ctrl+Alt+FN - switch to tty N Ctrl+Alt+F7 - switch back to X display This command will usually tell you the vendor and model of your graphic card list lspci lspci -v lspci -v | less System Services start service - start job service (Upstart) stop service - stop job service (Upstart) status service - check if service is running (Upstart) /etc/init.d/servic

If you cannot add contacts on my msn....

Delete your Contacts cache folder If your contact list is empty or incomplete after you upgrade to Windows Live Messenger, the cached contact list may not have updated correctly. Before you can delete your Contacts cache folder, make sure you can view your complete folder list in Windows Explorer. View your complete folder list On the taskbar, right-click Start, and then select Explore. Click on Tools, and then select Folder Options. In the Folder Options window, click the View tab. In the Advanced Settings list, select Show hidden files and folders, make sure Hide extensions for known file types is not selected, and then click OK. In the Windows Explorer window, click View, select Explorer Bar, and then verify that Folders is checked. Delete your Contacts cache folder After changing your Windows Explorer settings: On the taskbar, right-click Start, and then select Explore. In the folder list on the left-hand pane, navigate to the folder C:\Documents and Settings\Your Windows logon n

How to Check Your Anti-Virus Software Working Properly Or Not.

# 1 This article is best in checking out whether your antivirus software is running at its best or not. It was not known to many that how to check the antivirus software they are using is working properly or not. Please read the article for the details. Click Start --> Open Notepad --> Copy the code exactly in the notepad : X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H* Now Save it with the name fakevirus.exe in any of your folder/drives. if this file got deleted immediately...then it means that your antivirus is working properly and updated !! If this doesnt happens and you see the saved file in that folder do right click the file and select scan with your installed antivirus and if the scan shows the file then it means your antivirus is working properly but not updated with a new version, as best antivirus softwares detect any virus (at the same second when you

10 Most dangerous scripts to prank your friends.

ALL OF THEZE COMMANDZ ARE TO BE TYPED IN NOTEPAD... --- --- --- --- --- --- --- --- --- 1) Convey your friend a little message and shut down his / her computer: Type : Code: @echo off msg * I don't like yo shutdown -c "Error! You are too stupid!" -s Save it as "Anything.BAT" in All Files and send it. 3) Continually pop out your friend's CD Drive. If he / she has more than one, it pops out all of them! Type : Quote: Set oWMP = CreateObject("WMPlayer.OCX.7") Set colCDROMs = oWMP.cdromCollection do if colCDROMs.Count >= 1 then For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next End If wscript.sleep 5000 loop Save it as "Anything.VBS" and send it. 4) Frustrate your friend by making this VBScript hit Enter simultaneously: Type : Quote: Set wshShell =

How Hard Drives work

What is a Hard Drive Almost all desktop computers have a hard drive inside them, but do you really know what they are? Many people when they hear the word hard drive, think that it refers to the computer as a whole. In reality, though, the hard drive is just one of many different pieces that comprise a computer. The hard drive is one of the most important parts of your computer because it is used as a long-term storage space for your data. What that means, is regardless of whether or not the computer is on, or you lose power, the data will still stay stored on this drive keeping it safe. On the other hand, it tells you how important backing up your data is, because if the hard drive malfunctions there is a good chance you will lose it all. A hard drive is an integral piece of equipment for your computer as your operating system and all your data are typically stored there. In the majority of th

An A-Z Index of Windows Scripting Host commands (WSH/VB Script)

Arguments, display - WshArguments.Item (also Count and length) Command, cscript - Run a VBS/WSH Script Command, .Run command Command, .Exec execute command Command, .AppActivate activate running command Drive Map - .MapNetworkDrive Drive Map, list - .EnumNetworkDrives Drive Map, remove - .RemoveNetworkDrive Echo text .Echo Echo text to StdOut.Write Echo, popup .Popup Environment, read env variables - .Environment Environment, expand env variables - .ExpandEnvironmentStrings Environment, delete env variables - .WshEnvironment.Remove Environment, echo .ComputerName Environment, echo .UserName Environment, echo .UserDomain Log an item in the Event log .LogEvent Object, create - .CreateObject Object, get - .GetObject Object, disconnect- .DisconnectObject Path of wscript.exe - .Name Path to current directory - .CurrentDirectory Pathname of wscript.exe - .FullName Pathname of script being run - .ScriptFullName Path to desktop,start menu.. - .Sp

Windows XP Command Line Syntax

Parameters Command Line Parameters %1 %~f1 Variables Create/read environment variables Redirection Spooling output to a file, piping input AND/OR Logic Conditional Execution (If-Then-Else) Loops Loops and Subroutines functions How to package blocks of code Services List of Windows XP Services Evaluating expressions Using brackets to Group and expand expressions Delayed Expansion Manage and text SET /A Environment variable arithmetic VarSubstring Extract part of a variable (substring) VarSearch Search & replace part of a variable Escape chars, delimiters and quotes Wildcards Match multiple files Batch Files DateMath Add or subtract days from any date GetDate.cmd Get todays date (any region, any OS) GetTime.cmd Get the time now GetGMT.cmd Time adjusted to Greenwich Mean Time datetime.vbs Get Date, Time and daylight savings deQuote Rem

An A-Z Index of the Windows XP command line

Hope this is so useful ADDUSERS Add or list users to/from a CSV file ARP Address Resolution Protocol ASSOC Change file extension associations• ASSOCIAT One step file association ATTRIB Change file attributes b BOOTCFG Edit Windows boot settings BROWSTAT Get domain, browser and PDC info c CACLS Change file permissions CALL Call one batch program from another• CD Change Directory - move to a specific Folder• CHANGE Change Terminal Server Session properties CHKDSK Check Disk - check and repair disk problems CHKNTFS Check the NTFS file system CHOICE Accept keyboard input to a batch file CIPHER Encrypt or Decrypt files/folders CleanMgr Automated cleanup of Temp files, recycle bin CLEARMEM Clear memory leaks CLIP Copy STDIN to the Windows clipboard. CLS Clear the screen• CLUSTER Windows Clustering CMD Start a new CMD shell COLOR Change colors of the CMD window• COMP Compare the contents of tw

Antivirus for Linux

There are very little virus that have targeted Linux based operating systems in the past. There for the requirement of a Virus Guard isn't felt badly. But there are Open Source virus guards that are available for download. CLAMTK is one such virus guard and is available for download from http://clamtk.sourceforge.net. I have heard that there is no necessarily to have a virus guard if you are on Linux.There for just enjoy your time with Linux. You are much safe with Open Source than with Bill.

Managing SmartPhones/PDAs of Windows Mobile in Linux

I thought Windows and Linux were enemies. Well, it seems not... What is best, the big old desktop/surface computer or a small 3inch screen of a SmartPhone or PDA? I'd prefer the big stuff that can easily be gripped. I am not alone, I know it when my friends and you guys ask if phone management is possible in Linux. The answer is, very possible. This is very true if you are running Windows Mobile. All what you need is SynCE. Awailable at SourceForge, it makes your life much simple. Just plugin your phone before starting SynCE and you are done. Apart form theat kMobileTools is also a very useful set of tools that you can use to send SMS, call, phone book management and etc. http://www.kmobiletools.org/ http://sourceforge.net/projects/synce/

ZTE ZXDSL 852 : Linux Drivers

ZTE 852 DSL modem isn't recognised by Ubuntu Linux and there are some setting up you have to do before getting it running. Initially I suppose that you have the Ubuntu Linux CD/DVD with you. You need this because some packages which are necessary for the procedure are not installed with the Operating System. Other than that you will have to download UbuDSL which is open source and free to download. UbuDSL : You can easily download this from www.ubudsl.com.

Install OpenOffice 3.0 in Ubuntu 8.1

First of all get the tar.gz from the OpenOffice site. You can use the following link -- Here --. Extract the tar.gz achieve to your desktop. Get to the terminal and do the following sudo dpkg -i ~/Desktop/OOO300_m9_native_packed-1_en-US.9358/DEBS/*.deb sudo apt-get remove openoffice.org openoffice.org-base openoffice.org-base-core openoffice.org-calc openoffice.org-common openoffice.org-core openoffice.org-draw openoffice.org-evolution openoffice.org-filter-mobiledev openoffice.org-gnome openoffice.org-gtk openoffice.org-help-en-us openoffice.org-impress openoffice.org-java-common openoffice.org-l10n-common openoffice.org-l10n-en-gb openoffice.org-l10n-en-za openoffice.org-math openoffice.org-style-human openoffice.org-writer sudo dpkg -i ~/Desktop/OOO300_m9_native_packed-1_en-US.9358/DEBS/desktop-integration/openoffice.org3.0-debian-menus_3.0-9354_all.deb Incase you need to remove OpenOffice from your system, then you can do the following in the Terminal. sudo apt-get remove ooobas

OpenOffice

Try open office for your requirements its free and easy to use also http://why.openoffice.org/index.html download the new version from here support for Microsoft windows,mac and Linux,Solars also http://download.openoffice.org/other.html some screen shots are here http://www.openoffice.org/product/pix/writer-big.png http://www.openoffice.org/product/pix/calc-big.png http://www.openoffice.org/product/pix/impress-big.png http://www.openoffice.org/product/pix/draw-big.png http://www.openoffice.org/product/pix/base-big.png http://www.openoffice.org/product/pix/math-big.png

HOWTO improving your internet connection using wondershaper

I just downgraded my internet connection. I just hate it when a p2p application prevents me from browsing the web fast. So let's do something about it wondershaper is an easy to use traffic shaping script that provides these improvements: * Low latency for interactive traffic (and pings) at all times * Allow websurfing at reasonable speeds while uploading / downloading * Make sure uploads don't hurt downloads * Make sure downloads don't hurt uploads official webpage : http://lartc.org/wondershaper about the ubuntu package : http://packages.ubuntu.com/hoary/net/wondershaper /usr/share/doc/wondershaper contains readme files. You might want to read these also. I'm using firestarter together with wondershaper. Nothing has to be changed to firestarter. So here we go : sudo apt-get install wondershaper use ifconfig to determine which of your networkcards is the one that is connected to your modem (and thus

Conky

Conky is an advanced, highly configurable system monitor for X based on torsmo.Conky is an powerful desktop app that posts system monitoring info onto the root window. It is hard to set up properly (has unlisted dependencies, special command line compile options, and requires a mod to xorg.conf to stop it from flickering, and the apt-get version doesnt work properly). Most people can’t get it working right, but its an AWESOME app if it can be set up right done. Install Conky in Ubuntu sudo apt-get install conky This will complete the installation Configuring Conky Make a configuration file in your home directory (Ex:-/home/ubuntuadmin) vi /home/ubuntuadmin/.conkyrc Paste the following code into the file and save / exit # UBUNTU-CONKY # A comprehensive conky script, configured for use on # Ubuntu / Debian Gnome, without the need for any external scripts. # # Based on conky-jc and the default .conkyrc. # INCLUDES: # – tail of /var/log/messages # – netstat connections to your compu

sinhala unicode for ubuntu

Unfortunately the Sinhala font was first added to Ubuntu 8.10 and is unavailable in the Ubuntu 8.04: http://packages.ubuntu.com/search?keywords=ttf-sinhala-lklug Your options are: A) Upgrade to Ubuntu 8.10 or newer version of Ubuntu and then follow the instructions at: http://sinhala.sourceforge.net/ B) Download the ttf-sinhala-lklug deb package from Ubuntu 8.10 and install it on Ubuntu 8.04. Then follow the rest of the instructions at: http://sinhala.sourceforge.net/ then run this command in terminal sudo apt-get install scim scim-gtk2-immodule im-switch scim-m17n m17n-db m17n-contrib language-pack-si-base From your user account (i.e. not root) run: rm -f ~/.xinput.d/* ; im-switch -z all_ALL -s scim-immodule Logout and login again. Environment variables need to be set/updated (NO NEED TO REBOOT) How to test Visit si.wikipedia.org and see if the Sinhala letters render correctly. Copy and paste some of the content from Sinhala Wikipedia to Open Office Writer. Then hi

Reset Your Forgotten Ubuntu Password in 2 Minutes or Less

If you’ve ever forgotten your password, you aren’t alone… it’s probably one of the most common tech support problems I’ve encountered over the years. Luckily if you are using Ubuntu they made it incredibly easy to reset your password. All it takes is adjusting the boot parameters slightly and typing a command or two, but we’ll walk you through it. Reset Your Ubuntu Password Reboot your computer, and then as soon as you see the GRUB Loading screen, make sure to hit the ESC key so that you can get to the menu. Root Shell – Easy Method If you have the option, you can choose the “recovery mode” item on the menu, usually found right below your default kernel option. Then choose “Drop to root shell prompt” from this menu. This should give you a root shell prompt. Alternate Root Shell Method If you don’t have the recovery mode option, this is the alternate way to manually edit the grub options to allow for a root shell. First you’ll want to make sure to choose the regu

What is Samba and when do you need it?

To make a long story short: The Samba project was started in 1992 by Andrew Tridgell. Samba is a set of tools to share files and printers with computers running Microsoft Windows. It implements the SMB network protocol , which is the heart of Windows networking. Samba can be used to: Act as a server for Windows (or Samba) clients: share folders and printers, including PDF pseudo-printers so all the computers in your network may write PDF files Act as a domain controller in a Windows network (authenticating users, etc.) Do some more complex things, such as using a Windows domain controller to authenticate the users of a Linux/UNIX machine Samba is freely available under the GNU General Public License. More information about Samba can be found at http://www.samba.org . Back to top What to install The samba package is a meta-package intended to be installed on servers. Clients do not need this meta-package. It is not necessary for clients to do any of the following: Access shared fol

Command Prompt

Code: ANSI.SYS Defines functions that change display graphics, control cursor movement, and reassign keys. APPEND Causes MS-DOS to look in other directories when editing a file or running a command. ARP Displays, adds, and removes arp information from network devices. ASSIGN Assign a drive letter to an alternate letter. ASSOC View the file associations. AT Schedule a time to execute commands or programs. ATMADM Lists connections and addresses seen by Windows ATM call manager. ATTRIB Display and change file attributes. BATCH Recovery console command that executes a series of commands in a file. BOOTCFG Recovery console command that allows a user to view, modify, and rebuild the boot.ini BREAK Enable / disable CTRL + C feature. CACLS View and modify file ACL's. CALL Calls a batch file from another batch file. CD Changes directories. CHCP Supplement the International keyboard and character set information. CHDIR Changes directories. CHKDSK Check the hard disk drive running FAT for err

Internet Explorer Shortcuts

CTRL+A - Select all items on the current page CTRL+D - Add the current page to your Favorites CTRL+E - Open the Search bar CTRL+F - Find on this page CTRL+H - Open the History bar CTRL+I - Open the Favorites bar CTRL+N - Open a new window CTRL+O - Go to a new location CTRL+P - Print the current page or active frame CTRL+S - Save the current page CTRL+W - Close current browser window CTRL+ENTER - Adds the http://www . (url) .com SHIFT+CLICK - Open link in new window BACKSPACE - Go to the previous page ALT+HOME - Go to your Home page HOME - Move to the beginning of a document TAB - Move forward through items on a page END - Move to the end of a document ESC - Stop downloading a page F11 - Toggle full-screen view F5 - Refresh the current page F4 - Display list of typed addresses F6 - Change Address bar and page focus ALT+RIGHT ARROW - Go to the next page SHIFT+CTRL+TAB - Move back between frames SHIFT+F10 - Display a shortcut menu for a link SHIFT+TAB - Move

Windows XP Shortcuts

ALT+ (ALT+hyphen) displays the Multiple Document Interface (MDI) child window's System menu ALT+ENTER View properties for the selected item ALT+ESC Cycle through items in the order they were opened ALT+F4 Close the active item, or quit the active program ALT+SPACEBAR Display the System menu for the active window ALT+TAB Switch between open items ALT+Underlined letter Display the corresponding menu BACKSPACE View the folder one level up in My Computer or Windows Explorer CTRL+A Select all CTRL+B Bold CTRL+C Copy CTRL+I Italics CTRL+O Open an item CTRL+U Underline CTRL+V Paste CTRL+X Cut CTRL+Z Undo CTRL+F4 Close the active document CTRL while dragging Copy selected item CTRL+SHIFT while dragging Create shortcut to selected iteM CTRL+RIGHT ARROW Move the insertion point to the beginning of the next word CTRL+LEFT ARROW Move the insertion point to the beginning of the previous word CTRL+DOWN ARROW Move the insertion point to the beginning of the next paragraph C

Introduction to BIOS Passwords

The best method to reset a BIOS password depends on what BIOS the computer has. Common BIOS's include AMI, Award, IBM and Phoenix. Numerous other BIOS's do exist, but these are the most common. Some BIOS's allow you to require a password be entered before the system will boot. Some BIOS's allow you to require a password to be entered before the BIOS setup may be accessed. The general categories of solutions to reset a BIOS password are: * Using a Backdoor BIOS Password * Resetting the BIOS Password using Software * Resetting the BIOS Password using Hardware * Vendor Specific Solutions for resetting the BIOS Password Using a Backdoor BIOS Password Some BIOS manufacturers implement a backdoor password. The backdoor password is a BIOS password that works, no matter what the user sets the BIOS password to. These passwords are typically used for testing and maintenance. Manufacturers typically change the backdoor BIOS passwords from time to time. AMI Backdoor BIOS Passwo

OSI model

Introduction The Open Systems Interconnection (OSI) model is a reference tool for understanding data communications between any two networked systems. It divides the communications processes into seven layers. Each layer both performs specific functions to support the layers above it and offers services to the layers below it. The three lowest layers focus on passing traffic through the network to an end system. The top four layers come into play in the end system to complete the process. An Overview of the OSI Model --> A networking model offers a generic means to separate computer networking functions into multiple layers. Each of these layers relies on the layers below it to provide supporting capabilities and performs support to the layers above it. Such a model of layered functionality is also called a “protocol stack” or “protocol suite”. Protocols, or rules, can do their work in either hardware or software or, as with most protocol stacks, in a combinat