Skip to main content
added 2 characters in body
Source Link
gena2x
  • 2.4k
  • 16
  • 20

Highest priority is bash alias, then special builtins (only in POSIX mode), then functions, then builtins, then a search in $PATH.

To execute a builtin, use builtin test.
To execute an external application, use an explicit path: /bin/test.
To ignore functions and aliases, use command test. 
To bypass just alias, use \test or any other kind of expansion.

It's possible to disable/enable a builtin with enable test.

(Updated according to comments below) 
(Fixed incorrect admin edit that bash has disable builtin - in fact, there is only enable)

Highest priority is bash alias, then special builtins (only in POSIX mode), then functions, then builtins, then a search in $PATH.

To execute a builtin, use builtin test.
To execute an external application, use an explicit path: /bin/test.
To ignore functions and aliases, use command test. To bypass just alias, use \test or any other kind of expansion.

It's possible to disable/enable a builtin with enable test.

(Updated according to comments below) (Fixed incorrect admin edit that bash has disable builtin - in fact, there is only enable)

Highest priority is bash alias, then special builtins (only in POSIX mode), then functions, then builtins, then a search in $PATH.

To execute a builtin, use builtin test.
To execute an external application, use an explicit path: /bin/test.
To ignore functions and aliases, use command test. 
To bypass just alias, use \test or any other kind of expansion.

It's possible to disable/enable a builtin with enable test.

(Updated according to comments below) 
(Fixed incorrect admin edit that bash has disable builtin - in fact, there is only enable)

Aliases are disabled when you quote the command (or any part of it), as in `\test` or `'test'` or `tes't'`
Source Link
gena2x
  • 2.4k
  • 16
  • 20

Highest priority is bash alias, then special builtins (only in POSIX mode), then functions, then builtins, then a search in $PATH.

To execute a builtin, use builtin test.
To execute an external application, use an explicit path: /bin/test.
To ignore functions and aliases, use command test. To bypass just alias, use \test or any other formkind of quotingexpansion.

It's possible to disable/enable a builtin with enable test.

(Updated according to comments below) (Fixed incorrect admin edit that bash has disable builtin - in fact, there is only enable)

Highest priority is bash alias, then special builtins (only in POSIX mode), then functions, then builtins, then a search in $PATH.

To execute a builtin, use builtin test.
To execute an external application, use an explicit path: /bin/test.
To ignore functions and aliases, use command test. To bypass just alias, use \test or any other form of quoting.

It's possible to disable/enable a builtin with enable test.

(Updated according to comments below) (Fixed incorrect edit that bash has disable builtin - in fact, there is only enable)

Highest priority is bash alias, then special builtins (only in POSIX mode), then functions, then builtins, then a search in $PATH.

To execute a builtin, use builtin test.
To execute an external application, use an explicit path: /bin/test.
To ignore functions and aliases, use command test. To bypass just alias, use \test or any other kind of expansion.

It's possible to disable/enable a builtin with enable test.

(Updated according to comments below) (Fixed incorrect admin edit that bash has disable builtin - in fact, there is only enable)

Aliases are disabled when you quote the command (or any part of it), as in `\test` or `'test'` or `tes't'`
Source Link

Highest priority is bash alias, then special builtins (only in POSIX mode), then functions, then builtins, then a search in $PATH.

To execute a builtin, use builtin test.
To execute an external application, use an explicit path: /bin/test.
To ignore functions and aliases, use command test. To bypass just alias, use \test or any other substitutionform of quoting.

It's possible to disable/enable a builtin with enable test.

(Updated according to comments below) (Fixed incorrect edit that bash has disable builtin - in fact, there is only enable)

Highest priority is bash alias, then special builtins (only in POSIX mode), then functions, then builtins, then a search in $PATH.

To execute a builtin, use builtin test.
To execute an external application, use an explicit path: /bin/test.
To ignore functions and aliases, use command test. To bypass just alias, use \test or any other substitution.

It's possible to disable/enable a builtin with enable test.

(Updated according to comments below) (Fixed incorrect edit that bash has disable builtin - in fact, there is only enable)

Highest priority is bash alias, then special builtins (only in POSIX mode), then functions, then builtins, then a search in $PATH.

To execute a builtin, use builtin test.
To execute an external application, use an explicit path: /bin/test.
To ignore functions and aliases, use command test. To bypass just alias, use \test or any other form of quoting.

It's possible to disable/enable a builtin with enable test.

(Updated according to comments below) (Fixed incorrect edit that bash has disable builtin - in fact, there is only enable)

deleted 19 characters in body
Source Link
gena2x
  • 2.4k
  • 16
  • 20
Loading
deleted 19 characters in body
Source Link
gena2x
  • 2.4k
  • 16
  • 20
Loading
English
Source Link
Gilles 'SO- stop being evil'
  • 866.5k
  • 205
  • 1.8k
  • 2.3k
Loading
Source Link
gena2x
  • 2.4k
  • 16
  • 20
Loading