Click here to Skip to main content
15,891,902 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have this project that asks me to stop a given process from another process using ubuntu terminal command line.i don know where to start pls help
Posted
Comments
[no name] 28-Aug-12 8:26am    
I guess the first think you should do is look up kill in the man page.

1 solution

In a terminal, type 'man kill'.

It won't kill neither man nor woman ;).

Exit man by typing 'q'.

Hope this helps,
Pablo.
 
Share this answer
 
Comments
mimi from Unknown 28-Aug-12 9:01am    
i hope it won't but u know what i am new to this but i want to learn very much.So there are a lot of things that i don't understand right now.i used some of the commands in the manual but nothing happend.how do i even create a process??do u have some material i cld use pls???i really appreciate ur help.tnxs
Pablo Aliskevicius 28-Aug-12 9:16am    
You create a process by running a program.
You can see the list of processes in the 'proc' system pseudo-folder (I think it's /dev/proc, I'm on a Windows machine at the moment).
Google for 'linux commands', spend a few hours reading, in the end you'll get the hang of it.
Best wishes,
Pablo.
mimi from Unknown 29-Aug-12 3:27am    
Tnx sooo much Pablo u have been very helpful.but now i have a question for u.i used the ps command to list me all the processes in my system but it is all unidentifiable for me which is which coz i don want to kill a process which is going to bring me complications.so is there any way i cld understand how to kill the less complicated one/easily recoverable processes?
Pablo Aliskevicius 29-Aug-12 3:30am    
Yes, the 'proc' folder shows a pseudo-folder for each process, and those folders have a file named 'commandline' or similar.
Those are text 'files' that have the full command line for the process.

Best wishes,
Pablo.
mimi from Unknown 30-Aug-12 2:48am    
tnx Pablo proc is not working in my ubuntu but the other thing is that is gcc built in compiler or i sld install it?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900