nerdexam
Novell

050-720 · Question #304

What is the type command used for?

The correct answer is C. type determines the type of a command (shell builtin, alias, file on hard disk). See the full explanation below for the reasoning.

Question

What is the type command used for?

Options

  • Atype is used to print text to a teletypewriter.
  • Btype displays the type of terminal (tty1, tty2) you are logged in to.
  • Ctype determines the type of a command (shell builtin, alias, file on hard disk).
  • Dtype is used to determine the type of processor used (32-bit, 64-bit, Power).

How the community answered

(35 responses)
  • A
    9% (3)
  • B
    3% (1)
  • C
    86% (30)
  • D
    3% (1)

Community Discussion

4
Nina C.Nina C.Mar 24, 2026

The answer is C, and once you see what the command actually does it makes total sense. In a Linux shell, not every command you run is a program sitting on the hard disk. Some are shell builtins like cd, some are aliases you set up yourself, and some are actual executable files. The type command tells you which category a command falls into, so if you run type cd you get back something like "cd is a shell builtin," and if you run type ls you might see it is an alias or a path like /usr/bin/ls. The other options trip people up because the word "type" sounds like it could go several directions. Option A sounds plausible if you know tty stands for teletypewriter historically, but type has nothing to do with printing output that way. Option B is mixing up type with the tty command, which actually does show your terminal session. And option D is just a distractor using the word "type" in a totally different sense. Once you pin down that type is specifically a shell introspection tool, C is the only one that fits.

20
Wesley A.Wesley A.Apr 14, 2026

C is the right pick. When I first sat this exam I second-guessed myself because "type" sounds like it could mean a dozen things, so I want to make sure you understand WHY the other options are noise: does it click for you that type is specifically a shell introspection tool, meaning it tells you HOW the shell will interpret a command name (builtin, alias, function, or external binary), which is a completely different job from any hardware or terminal query?

2
Imani T.Imani T.Apr 3, 2026

I have been going back and forth on this one but I keep landing on A. The name "type" is literally right there, and when you think about the history of Unix, teletypewriters are where the whole terminal concept came from, so it makes perfect sense that a command called "type" would tie back to that origin. Every time I try to talk myself into C, I think about how that function is basically just covered by "which" or "whereis" anyway, so why would they need a whole separate command for it. Going into the 050-720 I am betting on A and I feel pretty solid about it, the historical context just connects too cleanly to ignore.

-2
Wesley A.Wesley A.Apr 5, 2026

Imani, the historical TTY connection is a clever thought but it is a trap the exam writers are counting on. The "type" command is a shell built-in that identifies how the shell will interpret a given name, and that is exactly why C beats "which" here, because "which" only finds external binaries on your PATH while "type" also surfaces aliases, functions, and built-ins that "which" would completely miss.

0
Full 050-720 Practice