Click here to Skip to main content
Rate this: bad
good
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 3:10am
Comments
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
good
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,
Pablo.
  Permalink  
Comments
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 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 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,
Pablo.
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 complications.so 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,
Pablo.
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 Sergey Alexandrovich Kryukov 269
1 OriginalGriff 240
2 CPallini 195
3 Maciej Los 177
4 BillWoodruff 173
0 OriginalGriff 5,655
1 DamithSL 4,506
2 Maciej Los 3,997
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,180


Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 28 Aug 2012
Copyright © CodeProject, 1999-2014
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