Explorar o código

type: add page (#2783)

黄永生 %!s(int64=6) %!d(string=hai) anos
pai
achega
bd045b8606
Modificáronse 1 ficheiros con 15 adicións e 0 borrados
  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}}`