Posts

Showing posts from December, 2010

Disable the Login Password Feature in Window XP

Image
Suppose you have added password for your security.But you are fade up of entering password every time you login .I can help you to disable this feature in Windows Xp. Just do the following steps:- 1. Click on “start” and select “Run” 2. Type “Control Userpasswords2" and press enter 3. Uncheck the option “User must enter a user name and password to use this computer”. 4. Click on apply and then ok.  Done. Now the next time User Name and Password will not be prompt on Login.

Change the Location of Special Folders in Window Xp

Image
Usually you cannot change the location of any specific folders just like My documents, favourates, pictures etc. It is restricted by default. But a little bit of registry change you will be able to change the location of those specific folders. To do this just follow the following steps:- 1. Click on start and then run. 2. Type "regedit". 3. Browse to HKEY_CURRENT_USER >> Software >> Microsoft >> Windows >> CurrentVersion >> Explorer >> User Shell Folders. 4. Double click on any file and change the path of that file. 5. Restart your computer. That's it you have just now change the location of special folder. 

Login with multiple ID's in same Yahoo Messenger

Image
Here is a simple trick to login with different Yahoo e-mail id's in same yahoo messenger without any additional installation. Just follow the following steps:- 1. Click on start and then run 2. Type "regedit" and press enter 3. Now browse to HKEY_CURRENT_USER ==>  Software  yahoo ==> pager ==> Test 4. On the right side, right click on blank area and new Dword value 5. Name it as plural. 6. Double click on it and assigns a decimal value of 1. Its done. Now just restart your PC for the effect to take place and login with multiple yahoo id's in same messenger.   

Linux User Management and file permissions / ownerships related commands

To add a new group called Oracle use: [root@badar /]# groupadd Oracle To add new user Shaheer and make him a member of the group Oracle, use: [root@badar /]# useradd -s /bin/false -g Oracle Shaheer To change the password if some user, say Shaheer, run the following command as root: [root@badar /]# passwd Shaheer To lock the password of user Shaheer, run the following command as root: [root@badar /]# passwd -l Shaheer To un-lock the password of user Shaheer, run the following command as root: [root@badar /]# passwd -u Shaheer To delete a user say Shaheer, including his home directory, use: [root@badar /]# userdel -r Shaheer To change  permissions of an object (file or directory), use chmod: [root@badar /]# chmod 770 myfile.txt  or [root@badar /]# chmod ug+rwx,o-rwx myfile.txt To change ownership of a directory /project to Shaheer and set the group permissions to the group Oracle, use chown (-R will change ownership of all files and subdirectories under the

Free Antivirus Softwares for Linux Operating System

Image
Clam AV  Clam AntiVirus is an open source anti-virus. It is specially designed for e-mail scanning. It provides a number of utilities including a flexible and scalable multi threaded daemon, a command line scanner and advanced tool for automatic database updates. The core of the package is an anti-virus engine available in a form of shared library. AVG Anti-Virus Free Edition for Linux According to CNET AVG Antivirus Free Edition is the most downloaded software. AVG is the best choice for free antivirus software. Basic antivirus protection for Linux/FreeBSD is available on AVG website for free. It is Easy to download, install and use. AVG Protect against viruses and spyware. Avast Linux Home Edition Avast Linux Home Edition is a free antivirus solution for Linux platform. It is simple to use and automated protection. Daily automatic updates ensure continuous data protection against all types of malware and spyware. F-PROT Antivirus for Linux F-PROT Antivirus for Linux wa

Linux Virus History

Very informative article about  history of viruses on Linux Operating System. http://www.neowin.net/news/a-history-of-viruses-on-linux

Linux Mounting / un-mounting directories related commands

To check for currently mounted partitions, use mount command without any arguments: [root@badar /]# mount  /dev/hda6 on / type ext3 (rw) none on /proc type proc (rw) usbdevfs on /proc/bus/usb type usbdevfs (rw) /dev/hda1 on /boot type ext3 (rw) /dev/hda2 on /data type ext3 (rw) none on /dev/pts type devpts(rw,gid=5,mode=620) none on /dev/shm type tmpfs (rw) /dev/hda3 on /mnt/hda3 type vfat (rw) You can also use the mounted files system table mtab to check for currently mounted partitions. [root@badar /]# cat /etc/mtab /dev/hda6 / ext3 rw 0 0 none /proc proc rw 0 0 usbdevfs /proc/bus/usb usbdevfs rw 0 0 /dev/hda1 /boot ext3 rw 0 0 /dev/hda2 /data ext3 rw 0 0 none /dev/pts devpts rw,gid=5,mode=620 0 0 none /dev/shm tmpfs rw 0 0 /dev/hda3 /mnt/hda3 vfat rw 0 0 Following command mounts the CD ROM drive in mount point  /mnt/cdrom [root@badar /]# mount /dev/cdrom /mnt/cdrom Following command mounts your VFAT partition, C: drive, in  /mnt/windir [root@badar /]# mo

Linux Disk checking and formatting related commands

1) List of all partitions on all attached hard drives (both SCSI and IDE) [root@badar /]# fdisk -l 2) To resize partitions use [root@badar /]# parted 3) Following command formats a floppy disk in ext2 format, also checks for and marks, bad sectors [root@badar /]# mke2fs -c /dev/fd0 4) Following command formats a floppy disk in dos format [root@badar /]# mkdosfs /dev/fd0 5) Following command checks for errors on the partition, the partition being checked should be in unmounted state during check. [root@badar /]# e2fsck /dev/hda3 or [root@badar /]# fsck -t ext2 /dev/hda3

Linux Directory and disk usage related commands

1) Given below command gives a list of files and directories in a long listing (even hidden  files will be displayed), human readable sizes, KB, MB. Also sorted by time (-t) and  in reverse order (-r) i.e. Newest in the end of listing. [root@badar /]# ls -l -h -a -t -r 2) Given below command captures lines showing directories only page by page, to check  for files use ^f. (This ^ d or ^f is NOT ctrl-d or ctrl-f) [root@badar /]# ls -l | grep “^d” | less  3) To check for free space on your partitions: [root@badar /]# df -h 4) To check for the used space by a particular directory: [root@badar /]# du –c –h /home/shaheer or  [root@badar /]# du –s –h /home/shaheer

Findout System up time

Image
Do you want to know for how long time your system has been running? In this post you will find the answer. On Linux OS If you are using Linux OS 'uptime' command will tell you how long the system has been running.   'uptime' gives a one line display of the following information. The current time, how long the system has been running, how many users are currently logged on, and the system load averages for the past 1, 5, and 15 minutes. On Window XP If you are using window's XP pro then 'systeminfo' command will show your desire result. 1. Open command prompt. 2. Type “systeminfo” without the quotes and press enter, 3. Scroll down to the line where it says 'System Up Time'. This will tell you in days, hours, minutes and seconds how long the system has been up. In case of Window XP Home use 'Net Statistics Workstation' command. The first line will tell you the day and time that the system has up.