type: add page (#2783)
This commit is contained in:
15
pages/linux/type.md
Normal file
15
pages/linux/type.md
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# type
|
||||||
|
|
||||||
|
> Display the kind of command the shell will execute.
|
||||||
|
|
||||||
|
- Display the kind of a command:
|
||||||
|
|
||||||
|
`type {{command}}`
|
||||||
|
|
||||||
|
- Display all locations containing the specified executable:
|
||||||
|
|
||||||
|
`type -a {{command}}`
|
||||||
|
|
||||||
|
- Display the name of the disk file that would be executed:
|
||||||
|
|
||||||
|
`type -p {{command}}`
|
Reference in New Issue
Block a user