Browse Source

type: add page (#2783)

黄永生 6 years ago
parent
commit
bd045b8606
1 changed files with 15 additions and 0 deletions
  1. 15 0
      pages/linux/type.md

+ 15 - 0
pages/linux/type.md

@@ -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}}`