# Type command missing - shell-rust

**URL:** <https://forum.codecrafters.io/t/type-command-missing-shell-rust/15363>\
**Category:** Challenges\
**Tags:** challenge:shell\
**Created:** [October 3, 2025, 9:39pm UTC](https://forum.codecrafters.io/t/type-command-missing-shell-rust/15363 "2025-10-03T21:39:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lFahadl](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/lfahadl/32/15874_2.png) [@lFahadl](https://forum.codecrafters.io/u/lFahadl)\
**Post date:** [October 3, 2025, 9:39pm UTC](https://forum.codecrafters.io/t/type-command-missing-shell-rust/15363/1 "2025-10-03T21:39:29Z")

</div>

type command is missing from the test environment - is this intentional or just missing?

When I run locally I get the correct path:  
$ type cat  
cat is /bin/cat

But in the tester:

[tester::#MG5] Running ./your\_program.sh  
[your-program] $ type cat  
[your-program] type: command not found  
[tester::#MG5] ^ Line does not match expected value.  
[tester::#MG5] Expected: “cat is /usr/bin/cat”  
[tester::#MG5] Received: “type: command not found”  
[your-program] $  
[tester::#MG5] Assertion failed.  
[tester::#MG5] Test failed

---

<div class="post-metadata">

**Author:** ![andy1li](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/andy1li/32/10_2.png) [@andy1li](https://forum.codecrafters.io/u/andy1li)\
**Post date:** [October 5, 2025, 11:33am UTC](https://forum.codecrafters.io/t/type-command-missing-shell-rust/15363/4 "2025-10-05T11:33:19Z")

</div>

Hey @lFahadl, looks like you’ve got past this stage. Do you happen to remember what was wrong? Would love to see if we can improve the tester / instructions.

---

<div class="post-metadata">

**Author:** ![andy1li](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/andy1li/32/10_2.png) [@andy1li](https://forum.codecrafters.io/u/andy1li)\
**Post date:** [October 11, 2025, 1:03am UTC](https://forum.codecrafters.io/t/type-command-missing-shell-rust/15363/6 "2025-10-11T01:03:19Z")

</div>

Closing this thread due to inactivity. If you still need assistance, feel free to reopen or start a new discussion!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/3X/7/0/700657133935c15703e22c7c8870394f6e6dc27d.svg) [@system](https://forum.codecrafters.io/u/system)\
**Post date:** [October 16, 2025, 1:03am UTC](https://forum.codecrafters.io/t/type-command-missing-shell-rust/15363/7 "2025-10-16T01:03:58Z")

</div>

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.
