Click here to Skip to main content
11,795,848 members (75,789 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: Linux GCC command line
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 28-Aug-12 2:10am
Wes Aday at 28-Aug-12 8:26am
I guess the first think you should do is look up kill in the man page.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

In a terminal, type 'man kill'.

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

Exit man by typing 'q'.

Hope this helps,
mimi from Unknown at 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 do i even create a process??do u have some material i cld use pls???i really appreciate ur help.tnxs
Pablo Aliskevicius at 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,
mimi from Unknown at 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 is there any way i cld understand how to kill the less complicated one/easily recoverable processes?
Pablo Aliskevicius at 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,
mimi from Unknown at 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)

  Print Answers RSS
0 Maciej Los 350
1 Sergey Alexandrovich Kryukov 326
2 KrunalRohit 239
3 Andy Lanng 236
4 OriginalGriff 230
0 OriginalGriff 1,852
1 Maciej Los 1,465
2 KrunalRohit 1,300
3 CPallini 840
4 Richard MacCutchan 828

Advertise | Privacy | Mobile
Web01 | 2.8.151002.1 | Last Updated 28 Aug 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100