# Cant Understand the difference between #PN5 and #FF0

**URL:** <https://forum.codecrafters.io/t/cant-understand-the-difference-between-pn5-and-ff0/3643>\
**Category:** Bug Reports\
**Tags:** challenge:shell\
**Created:** [December 24, 2024, 8:11am UTC](https://forum.codecrafters.io/t/cant-understand-the-difference-between-pn5-and-ff0/3643 "2024-12-24T08:11:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sgupta98mnit](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/sgupta98mnit/32/3676_2.png) [@sgupta98mnit](https://forum.codecrafters.io/u/sgupta98mnit)\
**Post date:** [December 24, 2024, 8:11am UTC](https://forum.codecrafters.io/t/cant-understand-the-difference-between-pn5-and-ff0/3643/1 "2024-12-24T08:11:16Z")

</div>

in #PN5 (The exit builtin) test case for  
input: invalid\_mango\_command  
expected output: invalid\_mango\_command: not found

but for the test case #FF0 (REPL)  
input: invalid\_command\_1  
expected output: invalid\_command\_1: command not found

How do i know when i need to output not found and when to output command not found?

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/2X/6/6cf03e1f3db0aa619d390402a66d2ba29b65ffc0.png)

---

<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:** [December 24, 2024, 11:44am UTC](https://forum.codecrafters.io/t/cant-understand-the-difference-between-pn5-and-ff0/3643/3 "2024-12-24T11:44:28Z")

</div>

Hi @sgupta98mnit, thanks for highlighting the issue! We’re working on fixing it and will keep you updated.

In the meantime, you can output `command not found` to pass both stages for now.

---

<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:** [December 28, 2024, 12:24am UTC](https://forum.codecrafters.io/t/cant-understand-the-difference-between-pn5-and-ff0/3643/4 "2024-12-28T00:24:21Z")

</div>

We’ve fixed the issue in [this PR](https://github.com/codecrafters-io/shell-tester/pull/81). Thanks again for highlighting it! @sgupta98mnit

---

<div class="post-metadata">

**Author:** ![sgupta98mnit](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/sgupta98mnit/32/3676_2.png) [@sgupta98mnit](https://forum.codecrafters.io/u/sgupta98mnit)\
**Post date:** [December 28, 2024, 2:08am UTC](https://forum.codecrafters.io/t/cant-understand-the-difference-between-pn5-and-ff0/3643/5 "2024-12-28T02:08:58Z")

</div>

Your Welcome 😁

---

<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:** [January 4, 2025, 3:28am UTC](https://forum.codecrafters.io/t/cant-understand-the-difference-between-pn5-and-ff0/3643/7 "2025-01-04T03:28:54Z")

</div>

Closed on January 4, 2025, 3:28am UTC

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