Wednesday, December 21, 2011

Install and Uninstall VMware .bundle in Redhat - RHEL 6

Here the steps for Install and Uninstall VMware .bundle in Redhat and also Linux. I have checked with RHEL 6.

For install :
Login in as root user, Type following command

~]# sh VMware-***.bundle

Here *** will be your software and it's version.

This command will display normal GUI installation. Choose option as your wish.

For Uninstall :
Login in as root user, Type following command

~]# vmware-installer -l

This will display your product name and product version installed by VMware.

Product Name         Product Version    
========== ==============

Note Name and Version, Use following command to uninstall

~]# vmware-installer -u {product-name} {product-version}

~]# vmware-installer -u vmware-workstation

Now you can uninstall with GUI.

* This is common for all VMware .bundle installation files. Ex: VMware-Workstation, VMware-Player etc.

Tuesday, December 13, 2011

Clear Samba Passwords from Windows

Following command will use to clear samba user name and passwords in windows.

net use /delete \\

* Replace with your samba server address.

* Can use this command with command prompt or with "Run" Directly.

* You can create this command with .bat file for single click delete.

Shell script for read line from text file

My need: Read line from the text file by shell script and append few text before and after the line. Script: #!/bin/bash file="...