This is the equivalent of the DOS type command.
它相当于DOS 中的type命令。
Use the built-in type command of the shell to reveal the truth.
使用Shell内置的type命令可以揭示实际的情况。
To identify a specific command in bash, use the type command, as shown in Listing 16.
可以使用type命令在bash中寻找特定的命令,见清单16。
The type command reports that the ls command is an alias, but it identifies the set command as a shell builtin.
type命令报告指出,ls 命令是一个别名,但是它将set 命令标识为一个 shell 内置命令。
If you want to know what command will be executed if you type a particular string, use the which or type command.
如果您希望知道在输入特定字符串后将执行哪个命令,那么使用which或type命令。
Type command startup.bat (Windows) or startup.sh
输入命令startup.bat (Windows)或startup.sh (UNIX)。
Type command startup.bat (Windows) or startup.sh
输入命令startup.bat (Windows)或startup.sh (UNIX)。
应用推荐