answersLogoWhite

0

What does the Type command do?

Updated: 10/3/2023
User Avatar

Wiki User

15y ago

Best Answer

It is one of builtin Bash commands. It is used to describe the command and how it would be interpreted if used.

Examples:

Shell: type -p ruby

Return: /usr/bin/ruby

Shell: type -a ruby

Return: ruby is /usr/bin/ruby

Shell: type -t ruby

Return: file

Shell: type -a echo

Return:

echo is a shell builtin

echo is /bin/echo

User Avatar

Wiki User

15y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

15y ago

A DOS command that displays the contents of a .txt file on your screen.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

There is no standard 'type' command in UNIX. If you are referring to the 'type' command that Windows uses, the equivalent in UNIX is the 'cat' command.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What does the Type command do?
Write your answer...
Submit
Still have questions?
magnify glass
imp