CodePudding user response:
Determine whether it is a built-in command to use type, plus the -a can view the command in the path,CodePudding user response:
Is not a system, it is the shellYou can use a type alias test alias is shell built-in commands, type is a built-in command
You input command shell will judge, look at whether alias, or variables/functions, or listed in the path environment variable path to find the feasible file (binary or shell script)
Specific order to read the document