Hello.
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?
1) Verify that "snap run brave" is the right invocation by typing
that into a shell.
2) If that's working, then create a shell script:
mkdir -p ~/bin
printf '#!/bin/sh\nexec snap brave run\n' > ~/bin/brave
chmod 755 ~/bin/brave
On Dec 22, 2024, Arbol One wrote:
In my Debian 12, I used snap to install Brave.
Does anyone know the directory for the Brave executable?
Assuming you installed it from *deb package, I'd imagine "/usr/bin".
On Mon, Dec 23, 2024 at 4:12 AM Arbol One <ArbolOne@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`.
Jeff
On Mon, Dec 23, 2024 at 06:24:56 -0500, Dan Purgert wrote:
On Dec 22, 2024, Arbol One wrote:
In my Debian 12, I used snap to install Brave.
Does anyone know the directory for the Brave executable?
Assuming you installed it from *deb package, I'd imagine "/usr/bin".
I'm imagining that since snap is involved, it's some kind of magical incantation, like "snap run brave". [...]
On 12/23/24 4:39 AM, Jeffrey Walton wrote:
On Mon, Dec 23, 2024 at 4:12 AM Arbol One <ArbolOne@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?
Jeff
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 <ArbolOne@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
On 12/23/24 17:28, George at Clug wrote:
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 <ArbolOne@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
eben@cerberus:~$ type command
command is a shell builtin
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 ...]
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 <ArbolOne@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
On Mon, Dec 23, 2024 at 8:32 PM George at Clug <Clug@goproject.info> wrote:
Is this the main point to command? "will execute the external command ls instead of calling the function recursively"
Greg provided the link to the documentation:
The "command" command's base functionality is specified by POSIX:
<https://pubs.opengroup.org/onlinepubs/9799919799/utilities/command.html>
And following the link:
DESCRIPTION
The command utility shall cause the shell to treat the arguments as a
simple command, suppressing the shell function lookup that is described
in 2.9.1.4 Command Search and Execution, item 1c.
On 23/12/2024 19:56, Richard Owlett wrote:
On 12/23/24 4:39 AM, Jeffrey Walton wrote:
`command -v brave`.
Is 'command' documented somewhere?
Déjà vu...
Richard Owlett to debian-user. Using terminal commands - corner cases.
Wed, 27 Nov 2024 05:38:30 -0600. <https://lists.debian.org/msgid-search/722ee1ce-bfb6-facd-2bab-a8e1052a17eb@access.net>
I've used terminal commands for so many decades I don't know where to
look up fine details of a specific commands.
But is there somewhere to go directly without a web search?
On 12/23/24 8:26 AM, Max Nikulin wrote:
On 23/12/2024 19:56, Richard Owlett wrote:
On 12/23/24 4:39 AM, Jeffrey Walton wrote:
`command -v brave`.
Is 'command' documented somewhere?
Déjà vu...
Richard Owlett to debian-user. Using terminal commands - corner cases.
Wed, 27 Nov 2024 05:38:30 -0600.
<https://lists.debian.org/msgid-search/722ee1ce-bfb6-facd-2bab-a8e1052a17eb@access.net>
I've used terminal commands for so many decades I don't know where to
look up fine details of a specific commands.
Your quote is incomplete. I also said:
But is there somewhere to go directly without a web search?
What I needed is the discussion of command/type/whereis/etc which is now occurring below in this thread/sub-treads ;}
I'll have to re-read the sub-thread Max referenced to see if my question had been
answered but did not register ;/
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 162:20:26 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,501 |