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命令。
If you want to know what command will be executed if you type a particular string, use the which or type command.
如果您希望知道在输入特定字符串后将执行哪个命令,那么使用which或type命令。
应用推荐