Linux:Killing processes
Find the processes to be killed: ps -ef | grep httpd Kill them: kill -9 12345 56789
Find the processes to be killed: ps -ef | grep httpd Kill them: kill -9 12345 56789
Start->Run: regedit HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services Find the service and delete it. Reboot for the service list to be updated.
With java -version at command prompt you can see which java version you are running: >java -versionjava version "1.6.0_21"Java(TM) SE Runtime Environment (build 1.6.0_21-b07)Java HotSpot(TM) Client VM (build 17.0-b17, mixed…
Start->Run: regedit HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run Find the program and delete it. Alternative place in which you should look: C:\Documents and Settings\%USERNAME%\Start Menu\Programs\Startup
Extract a .zip file in the current directory: unzip package.zip . Extract a .tar.gz file in the current directory: tar -xvzf package.tar.gzCompress a file to .zip format:zip notes.txt.zip notes.txtCompress a…
Useful commands: restart: shutdown -r shutdown: shutdown -s
To install vnserver: [root@MYSERVER /]# urpmi --media main vnc[root@MYSERVER /]# urpmi --media main vnc-serverPlease insert the medium named "Main media"rpm -ivh vnc-4_1_3-x86_linux.rpmerror: Failed dependencies: libstdc++-libc6.2-2.so.3 is needed by vnc-4.1.3-1.i386SOLUTION:with MANDRIVA…
Use the following code to create a simple user: CREATE USER nista IDENTIFIED BY kookoo;GRANT "CONNECT" TO nista;--optional:ALTER USER nista DEFAULT TABLESPACE "USERS" QUOTA UNLIMITED ON "USERS";GRANT "SSE_ROLE" TO nista;--for…
In order to decompile huge amount of java code, which is in directories and sub-directories etc, you can use the following technique: Create 2 directories in the same path in…
This example shows a list with countries which is refined each time we narrow down the search by typing in more letters. We need a table called "countries" with 2…