[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to call something when a command is not found?
From: |
Eduardo Bustamante |
Subject: |
Re: How to call something when a command is not found? |
Date: |
Tue, 9 Mar 2021 13:45:15 -0800 |
On Tue, Mar 9, 2021 at 1:40 PM Peng Yu <pengyu.ut@gmail.com> wrote:
>
> Hi,
>
> On ubuntu, if a command is not found, it will be prompt to get it
> installed. Does anybody know this is achieved in bash? Thanks.
>
> $ shc
> Command 'shc' not found, but can be installed with:
> sudo apt install shc
> Do you want to install it? (N/y)y
Lookup `command_not_found_handle' in your Bash manual
- How to call something when a command is not found?, Peng Yu, 2021/03/09
- Re: How to call something when a command is not found?,
Eduardo Bustamante <=
- Re: How to call something when a command is not found?, Marco Ippolito, 2021/03/09
- Re: How to call something when a command is not found?, Peng Yu, 2021/03/09
- Re: How to call something when a command is not found?, Eli Schwartz, 2021/03/09
- Re: How to call something when a command is not found?, Peng Yu, 2021/03/09
- Re: How to call something when a command is not found?, Lawrence Velázquez, 2021/03/09
- Re: How to call something when a command is not found?, Eli Schwartz, 2021/03/09
- Re: How to call something when a command is not found?, Marco Ippolito, 2021/03/09
- Re: How to call something when a command is not found?, Lawrence Velázquez, 2021/03/09