Difference between revisions of "Type (Bash built-in)"

From wikieduonline
Jump to navigation Jump to search
Line 28: Line 28:
 
== Related terms ==
 
== Related terms ==
 
* <code>[[which python3]]</code>
 
* <code>[[which python3]]</code>
 +
* <code>[[whereis]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 13:00, 30 January 2023

https://linuxcommand.org/lc3_man_pages/typeh.html

type type
type is a shell builtin

Examples

type -a python3
python3 is /usr/bin/python3
python3 is /bin/python3


type -a unattended-upgrade
unattended-upgrade is /usr/bin/unattended-upgrade
unattended-upgrade is /bin/unattended-upgrade
type -a unattended-upgrades
unattended-upgrades is /usr/bin/unattended-upgrades
unattended-upgrades is /bin/unattended-upgrades
type -p
type -Pp $command


type /var/lib/grafana/your-file
bash: type: /var/lib/grafana/your-file: not found

Related terms

See also

Advertising: