apt-get
James Mcphee
jmcphe at gmail.com
Sun Oct 12 19:07:50 MST 2014
Sorry, it's not in bin. if [ -x /usr/lib/command-not-found -o -x
/usr/share/command-not-found/command-not-found ]; then
is the line in .bash.bashrc.
On Sun, Oct 12, 2014 at 10:47 AM, Michael Havens <bmike1 at gmail.com> wrote:
> well... in the interim I got my memory chips so I shut down my computer to
> put them in and found I got the wrong ones! they're two small. so I restart
> the computer, get your message, and:
>
> bmike1 at C521 ~ $ which command-not-found
> bmike1 at C521 ~ $ command-not-found
> command-not-found: command not found
> bmike1 at C521 ~ $
>
>
> :-)~MIKE~(-:
>
> On Sun, Oct 12, 2014 at 9:47 AM, James Mcphee <jmcphe at gmail.com> wrote:
>
>> Honestly, no :) Check your /etc/bash.bashrc. The default has a little
>> conditional if the command you typed isn't found it runs that little python
>> script to look for possible packages that might contain what you were
>> trying to run. It's annoying an I tend to disable it so when I typo a
>> command it doesn't slow me down doing the search. Find it with "which
>> command-not-found" and you can read the python code, which doesn't really
>> say much, but is interesting none-the-less.
>>
>> On Sun, Oct 12, 2014 at 9:40 AM, Michael Havens <bmike1 at gmail.com> wrote:
>>
>>> no it isn't but as I was looking into this I tried running the man page
>>> and get:
>>> 'No manual entry for command-not-found'
>>> but when I try to apt-get it:
>>> 'command-not-found is already the newest version.'
>>> Then I tried running it with the help option:
>>> 'command-not-found: command not found'
>>> Are you just messing with me, James?
>>>
>>> :-)~MIKE~(-:
>>>
>>> On Sun, Oct 12, 2014 at 5:50 AM, James Mcphee <jmcphe at gmail.com> wrote:
>>>
>>>> there's a command called "command-not-found", is that what you were
>>>> thinking of to find the file in question?
>>>>
>>>> On Sun, Oct 12, 2014 at 1:38 AM, Michael Havens <bmike1 at gmail.com>
>>>> wrote:
>>>>
>>>>> Long ago I needed a file that was included in an apt package. If I
>>>>> remember right there is a way to find out what package that file is a part
>>>>> of and to extract it. Am I right? If so, how is it done?
>>>>> :-)~MIKE~(-:
>>>>>
>>>>> ---------------------------------------------------
>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> James McPhee
>>>> jmcphe at gmail.com
>>>>
>>>> ---------------------------------------------------
>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>
>>>
>>>
>>> ---------------------------------------------------
>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>
>>
>>
>>
>> --
>> James McPhee
>> jmcphe at gmail.com
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
--
James McPhee
jmcphe at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20141012/32d240f3/attachment.html>
More information about the PLUG-discuss
mailing list