So it is good to delete those services after cleaning the machine.
To do so the following are the steps.
Method 1 :
Start -> Run -> type Cmd -> Hit Enter
in command prompt
Type sc delete <servicename>
sc delete IBMWebsphere
Then don'r forget to reboot the system.
Note : To create a new service
sc create <service name>
Method 2 :(Registry clean)
If you prefer to work in the registry rather than through the command prompt to delete services;
* Click Start | Run and type regedit in the Open: line. Click OK.
* Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
* Scroll down the left pane, locate the service name, right click it and select Delete.
* Reboot the system
adduser : Command to create a user in linuc
-u : Set the value of user id to 0 which is generally root user id.
-o : Set the value of user id to 0 which is generally root user id.
-g : Set the initial group number to to 0 generally root user group
-G : Supplementary groups 0=root, 1=bin, 2= daemon, 3 = sys, 4= adm, 6=disk, 10 = wheel
-M : User home directory will not be created
Ping mutiple ips .bat file - Ping Mutiple Hosts
Here is a small code snippet used for knowing the status of multiple machines/hosts/Ips status.
Say you have n number of Hosts and you want to know how many of them are reachable/pingable from your machine, it will be difficult to see the status of each machine one by one.
So we can do this using simple BAT file in windows.
We will be doing this using 2 files one is pinghosts.bat and second one is myhosts.txt
myhosts.txt : it contains the list of IPs or hostnames to be verified
Sample myhosts.txt looks like the below
pinghosts.bat >>>> It is a simple bat file to ping each and every machine specified in myhosts.txt and log the status in a log file called ping.log
sample pinghosts.bat looks like the below
#This batch file is to ping multiple hosts
#and gets the status of the machines
#(List of IPs to be checked should be specified in a file)
ping -a -n 1 %1 |findstr "Reply from" >> ping.log
if errorlevel==1 goto notgood
if errorlevel==0 goto good
echo %1 is not pingable >> ping.log
echo %1 is good >> ping.log
echo ---------------------- >> ping.log
#end of batch
Once the pinghosts.bat and myhosts.txt are ready go to command prompt in windows and change directory to the location where pinghosts and myhosts are located.
then run the following command
for /f %z in (myhosts.txt) do pinghosts.bat %%z
Note : the ping.log will be created in the current directory where the pinghosts.bat exists.
Powered by WidgetsForFree
- ► 2013 (19)
- ► 2011 (18)
- ► 2010 (35)
- ▼ September (3)
My Blog List
- Airtel and vodafone GPRS settings for pocket PC phones
- Andhra 2 America
- Ayyappa Deeksha required things
- Blogs I watch !
- Captions for your bike
- DB2 FAQs
- Deepavali Vs The Goddes of sleep
- ETV - Dhee D2 D3
- Evolution of smoking in India Women
- How to make credit card payments?
- Java-J2EE interview preparation
- My SQL FAQs
- My Travelogues
- Old is blod - New is italic
- Online pay methids for credit cards
- Oracle FAQs
- Smoking in Indian Women
- Technology Vs Humans
- Twitter feeds for all Telugu stars on single page.
- Unix FAQs
- Unix best practices
- init 0, init 1, init 2 ..
- mCheck Application jar or jad download