On Monday, 23-12-2024 at 23:56 Richard Owlett wrote:
> On 12/23/24 4:39 AM, Jeffrey Walton wrote:
> > On Mon, Dec 23, 2024 at 4:12 AM Arbol One <arbol...@hotmail.ca> wrote:
> >>
> >> In my Debian 12, I used snap to install Brave. To select it as browser in 
> >> Netbeans I need to know the location of the executable.
> >> Does anyone know the directory for the Brave executable?
> > 
> > `command -v brave`.
> 
> Is 'command' documented somewhere?

Shows how much about Linux I know, I had never previously heard about the 
command called command.  

An Internet search was not great since "command" is such a common term, however 
I managed to find some info using the usual Linux 'get help' options. Maybe 
there is more detailed info out there somewhere?  

$ man command
No manual entry for command

$ command --help
command: command [-pVv] command [arg ...]
    Execute a simple command or display information about commands.
    
    Runs COMMAND with ARGS suppressing  shell function lookup, or display
    information about the specified COMMANDs.  Can be used to invoke commands
    on disk when a function with the same name exists.
    
    Options:
      -p    use a default value for PATH that is guaranteed to find all of
            the standard utilities
      -v    print a description of COMMAND similar to the `type' builtin
      -V    print a more verbose description of each COMMAND
    
    Exit Status:
    Returns exit status of COMMAND, or failure if COMMAND is not found.



> 
> > 
> > Jeff
> > 
> > 
> 
> 
> 

Reply via email to