I've found a couple of clues in
(1) In the documentation of the PATH variable:-
PATH The search path for commands. It is a colon-separated list of
directories in which the shell looks for commands (see COMMAND
EXECUTION below). A zero-length (null) directory name in the value
of PATH indicates the current directory. A null directory name may
appear as two adjacent colons, or as an initial or trailing colon.
The default path is system-dependent, and is set by the administrator
who installs bash. A common value is
(2) In the documentation of
command [-pVv] command [arg ...] Run command with args suppressing
normal shell function lookup. Only builtin commands or commands
found in the PATH are executed. If the -p option is given,
the search for command is performed using a default value for PATH
that is guaranteed to find all of the standard utilities.
On Ubuntu 18.04.2 I get the same
PATH variable. I noted two things:-
., but this is generally ill-advised.
- In the new
declare -p PATH shows that
PATH is not exported, as in the normal configuration, so
env does not show
PATH in its environment list.