LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-17-2011, 08:49 PM   #1
ted_chou12
Member
 
Registered: Aug 2010
Location: Zhongli, Taoyuan
Distribution: slackware, windows, debian (armv4l GNU/Linux)
Posts: 431
Blog Entries: 32

Rep: Reputation: 3
sh: killall: command not found


Hi, I seem to remember that exists a command killall such that when u specify a program, it will terminate every pid or running process to do with it.
Eg. killall samba

but with my newly installed system:
Code:
sh: killall: command not found
I tried 

sh-3.1# apt-get install killall
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package killall
How can I install it?
Thanks,
Ted
 
Old 11-17-2011, 09:00 PM   #2
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 193Reputation: 193
It should be there by default.

Code:
 $ which killall
$ echo $PATH
It looks like you are running a fairly minimal bashrc, its possible its a path related problem.
Does the location of killall show up in the path? (/usr/bin most likely)

Last edited by fukawi1; 11-17-2011 at 09:35 PM. Reason: formatting
 
Old 11-17-2011, 09:18 PM   #3
ted_chou12
Member
 
Registered: Aug 2010
Location: Zhongli, Taoyuan
Distribution: slackware, windows, debian (armv4l GNU/Linux)
Posts: 431

Original Poster
Blog Entries: 32

Rep: Reputation: 3
Hi, here r the responses:
Code:
sh-3.1# which killall
sh-3.1# echo $PATH
/usr/bin:/usr/sbin:/bin:/sbin
THanks,
 
Old 11-17-2011, 09:35 PM   #4
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 193Reputation: 193
Hmm, instead of trying apt-get install,

do an apt-cache search.

On my FC15 box, killall is located in the "psmisc" package.

But it sounds to me like something hasn't installed correctly. I would imagine killall would be installed by default on even the most stripped of distro's. Its been there the last time i installed Arch or a CentOS 6 netinst (which seemed to have a few things missing that i thought should be there)
 
1 members found this post helpful.
Old 11-17-2011, 10:02 PM   #5
ted_chou12
Member
 
Registered: Aug 2010
Location: Zhongli, Taoyuan
Distribution: slackware, windows, debian (armv4l GNU/Linux)
Posts: 431

Original Poster
Blog Entries: 32

Rep: Reputation: 3
Hi, I don't quite understand why this results:
Code:
sh-3.1# apt-cache search psmisc
psmisc - Utilities that use the proc filesystem
I am using a debian system.
 
Old 11-17-2011, 10:06 PM   #6
ted_chou12
Member
 
Registered: Aug 2010
Location: Zhongli, Taoyuan
Distribution: slackware, windows, debian (armv4l GNU/Linux)
Posts: 431

Original Poster
Blog Entries: 32

Rep: Reputation: 3
HI, thanks, I seem to be able to install:
Code:
aptitude install psmisc
Thanks,
Ted
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
setup command not found in Ubuntu 10.04 Command Prompt vinaytp Ubuntu 2 05-06-2010 01:10 PM
How to simulate closing a window from the command line with /usr/bin/killall? Winter Knight Linux - Desktop 5 11-10-2007 04:05 PM
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-27-2006 11:57 PM
Command "killall" in Linux bharaniks Linux - Software 6 06-21-2005 05:00 AM
killall...but one? dibblethewrecke Programming 1 05-19-2005 11:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration