Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12th October 2007, 06:03 AM
hermouche's Avatar
hermouche Offline
Registered User
 
Join Date: Apr 2006
Location: Algeria
Posts: 800
Thumbs up Small question please?

Hello,

Under the gnome terminal i used it to search an info about bootchart ot the Repo:
yum info bootchart

OK, now since it took too long, i wanted to stop the search by pressing "Ctrl-C" but doesn't work, which command should we use to stop this type of command without closing the xterminal?

Thanks

red
Reply With Quote
  #2  
Old 12th October 2007, 06:52 AM
ppesci's Avatar
ppesci Offline
Registered User
 
Join Date: May 2006
Location: Caracas, Venezuela
Posts: 1,828
may be (in another terminal):

killall -15 yum

of it doesn't work

killall -9 yum

HTH
__________________
Pietro Pesci Feltri

PowerBook 15" G4 and
MacBook Pro 17" Intel Core 2 Duo
Intel I5 Desktop
Reply With Quote
  #3  
Old 12th October 2007, 07:09 AM
hermouche's Avatar
hermouche Offline
Registered User
 
Join Date: Apr 2006
Location: Algeria
Posts: 800
Quote:
Originally Posted by ppesci
may be (in another terminal):

killall -15 yum

of it doesn't work

killall -9 yum

HTH
Thanks ppesci,

Which means that there is no special command for stopping yum from the same terminal, we should open a new one and kill it from there!!

red
Reply With Quote
  #4  
Old 12th October 2007, 12:22 PM
gthill's Avatar
gthill Offline
Registered User
 
Join Date: May 2005
Location: g-land, east java
Age: 49
Posts: 387
Quote:
Originally Posted by hermouche
Thanks ppesci,

Which means that there is no special command for stopping yum from the same terminal, we should open a new one and kill it from there!!

red
You could kick the process into the background, then you can use the same terminal.
ctrl z will suspend the process, then the command 'bg' will place it in the background.
You can then use 'kill %1' which will kill the 1st process in the background.
The command 'jobs' will show you which commands are in the background and its number

[gordon@lap1 ~]$ gthumb

[1]+ Stopped gthumb
[gordon@lap1 ~]$ bg
[1]+ gthumb &
[gordon@lap1 ~]$ gkrellm

[2]+ Stopped gkrellm
[gordon@lap1 ~]$ bg
[2]+ gkrellm &
[gordon@lap1 ~]$ jobs
[1]- Running gthumb &
[2]+ Running gkrellm &
[gordon@lap1 ~]$ kill %2
[gordon@lap1 ~]$ kill %1
[2]+ Exit 1 gkrellm
[gordon@lap1 ~]$
[1]+ Terminated gthumb
[gordon@lap1 ~]$
Reply With Quote
  #5  
Old 13th October 2007, 01:55 AM
ppesci's Avatar
ppesci Offline
Registered User
 
Join Date: May 2006
Location: Caracas, Venezuela
Posts: 1,828
That's work too using the same terminal
__________________
Pietro Pesci Feltri

PowerBook 15" G4 and
MacBook Pro 17" Intel Core 2 Duo
Intel I5 Desktop
Reply With Quote
  #6  
Old 13th October 2007, 06:55 AM
hermouche's Avatar
hermouche Offline
Registered User
 
Join Date: Apr 2006
Location: Algeria
Posts: 800
Smile

Quote:
Originally Posted by gthill
You could kick the process into the background, then you can use the same terminal.
ctrl z will suspend the process, then the command 'bg' will place it in the background.
You can then use 'kill %1' which will kill the 1st process in the background.
The command 'jobs' will show you which commands are in the background and its number

[gordon@lap1 ~]$ gthumb

[1]+ Stopped gthumb
[gordon@lap1 ~]$ bg
[1]+ gthumb &
[gordon@lap1 ~]$ gkrellm

[2]+ Stopped gkrellm
[gordon@lap1 ~]$ bg
[2]+ gkrellm &
[gordon@lap1 ~]$ jobs
[1]- Running gthumb &
[2]+ Running gkrellm &
[gordon@lap1 ~]$ kill %2
[gordon@lap1 ~]$ kill %1
[2]+ Exit 1 gkrellm
[gordon@lap1 ~]$
[1]+ Terminated gthumb
[gordon@lap1 ~]$
Yes i like it, good strategy.
Thanks gthill

red
Reply With Quote
Reply

Tags
question, small

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
a small question regarding Eclipse C++ :) bigboss2200 Programming & Packaging 2 5th July 2007 06:12 AM
Small question deepfreeze Using Fedora 0 28th January 2005 01:33 PM
A small DVD writer question D@ Mick Hardware & Laptops 5 30th June 2004 11:03 AM


Current GMT-time: 19:48 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat