Can someone please tell me how I can search for a file containing the file name db2.. I want to do a file search in terminal..
also once I find the file How can I check what processes are running in the background, once I see that how do I stop the processes.
For searches you can also do the following:
locate -u &
(updates file database)
after about 2 minutes type:
locate -r 'db2'
To list all processes running on your server type:
to kill a process type:
kill -15 <PID> or kill -9 <PID>
<PID> - process ID is the number corresponding to the process you want to stop from the 'ps -A' or 'ps -aux' listing.
You can also use:
kill -15 `pidof <processname>` or kill -9 `pidof <processname>`
to stop processes by using their names instead of PID.