# \#challenge:shell

**URL:** https://forum.codecrafters.io/tag/challenge-shell/9.md?page=1

[Latest](https://forum.codecrafters.io/latest.md) · [Categories](https://forum.codecrafters.io/categories.md) · [Tags](https://forum.codecrafters.io/tags.md)

**Page:** 2

---

## [Implementing TAB autocompletion in Elixir - Need guidance](https://forum.codecrafters.io/t/implementing-tab-autocompletion-in-elixir-need-guidance/15685)

<div class="topic-metadata">

**Author:** [@Illuminaxx](https://forum.codecrafters.io/u/Illuminaxx)\
**Replies:** 2\
**Last updated:** [May 25, 2026, 8:23am UTC](https://forum.codecrafters.io/t/implementing-tab-autocompletion-in-elixir-need-guidance/15685 "2026-05-25T08:23:38Z")

</div>

Hi CodeCrafters team, I’m working on the Shell challenge using Elixir and I’m stuck on Stage #QP2 (Tab Autocompletion - Builtin completion). The Problem: The test expects TAB autocompletion to work, but Elixir/Erlang d…

---

## [Is this just Syntax issue or something else? Shell EZ5](https://forum.codecrafters.io/t/is-this-just-syntax-issue-or-something-else-shell-ez5/16127)

<div class="topic-metadata">

**Author:** [@Theo2you](https://forum.codecrafters.io/u/Theo2you)\
**Replies:** 1\
**Last updated:** [May 25, 2026, 8:17am UTC](https://forum.codecrafters.io/t/is-this-just-syntax-issue-or-something-else-shell-ez5/16127 "2026-05-25T08:17:29Z")

</div>

I’m stuck on Stage #EZ5. I’ve tried restructuring and adding print(f"{userInput} " :command not found") as well as a space in sys.stdout.write("$ ") Here are my logs: \[tester::#EZ5\] ^ Expected prompt ("$ ") but recei…

---

## [\#NI6: Single quotes seemed to be parsed correctly but cat throws error (C++)](https://forum.codecrafters.io/t/ni6-single-quotes-seemed-to-be-parsed-correctly-but-cat-throws-error-c/16123)

<div class="topic-metadata">

**Author:** [@DailyPigeon](https://forum.codecrafters.io/u/DailyPigeon)\
**Replies:** 2\
**Last updated:** [May 22, 2026, 11:48am UTC](https://forum.codecrafters.io/t/ni6-single-quotes-seemed-to-be-parsed-correctly-but-cat-throws-error-c/16123 "2026-05-22T11:48:39Z")

</div>

I’m stuck on Stage #NI6. I have a “handleSingleQuotes” function takes the value of the ‘command’ variable which holds the user input. It appears to parse correctly according to the challenge’s instructions and echo test…

---

## [Building a shell, stage #008](https://forum.codecrafters.io/t/building-a-shell-stage-008/16122)

<div class="topic-metadata">

**Author:** [@Hbaggins](https://forum.codecrafters.io/u/Hbaggins)\
**Replies:** 6\
**Last updated:** [May 22, 2026, 10:36am UTC](https://forum.codecrafters.io/t/building-a-shell-stage-008/16122 "2026-05-22T10:36:30Z")

</div>

I’m stuck on stage #008 I’ve tried typing in codecrafters submit, as the challenge suggested but it keeps failing. Here are my logs: This is a turbo test run. https://codecrafters.io/turbo Running tests on your code.…

---

## [Redirect stdout failing due to ls](https://forum.codecrafters.io/t/redirect-stdout-failing-due-to-ls/16118)

<div class="topic-metadata">

**Author:** [@Linkstus](https://forum.codecrafters.io/u/Linkstus)\
**Replies:** 2\
**Last updated:** [May 21, 2026, 9:32pm UTC](https://forum.codecrafters.io/t/redirect-stdout-failing-due-to-ls/16118 "2026-05-21T21:32:55Z")

</div>

I’m stuck on Stage #JV1. Using Python My code current finds the stdout file that is being requested. I then use shutil.which to find if the file exists, if it doesn’t I create it. The issue I am running into is the test…

---

## [Handle Multiple completions stage at build your own shell challenge](https://forum.codecrafters.io/t/handle-multiple-completions-stage-at-build-your-own-shell-challenge/16113)

<div class="topic-metadata">

**Author:** [@MostafaEdrees11](https://forum.codecrafters.io/u/MostafaEdrees11)\
**Replies:** 3\
**Last updated:** [May 19, 2026, 12:05am UTC](https://forum.codecrafters.io/t/handle-multiple-completions-stage-at-build-your-own-shell-challenge/16113 "2026-05-19T00:05:06Z")

</div>

I’m stuck on Stage #Multiple completions #wh6. I’ve tried to solve it by out the bell characters where there is no match or when there are multiple matches and I return the hits from the commands to let the user see the…

---

## [Stuck at SingleQuote challenge in build ur own shell](https://forum.codecrafters.io/t/stuck-at-singlequote-challenge-in-build-ur-own-shell/16111)

<div class="topic-metadata">

**Author:** [@Vamshi-Medamaina](https://forum.codecrafters.io/u/Vamshi-Medamaina)\
**Replies:** 1\
**Last updated:** [May 17, 2026, 8:58pm UTC](https://forum.codecrafters.io/t/stuck-at-singlequote-challenge-in-build-ur-own-shell/16111 "2026-05-17T20:58:54Z")

</div>

I’m stuck on the first Stage of Single Quotes i don’t know how to start this stage. can anyone please give me some hints or guid eme how to do without giving away the solutions. thnxx

---

## [Unable to find dynamic system library 'readline' zig 0.16.0](https://forum.codecrafters.io/t/unable-to-find-dynamic-system-library-readline-zig-0-16-0/16108)

<div class="topic-metadata">

**Author:** [@nathanielketema](https://forum.codecrafters.io/u/nathanielketema)\
**Replies:** 1\
**Last updated:** [May 14, 2026, 8:04pm UTC](https://forum.codecrafters.io/t/unable-to-find-dynamic-system-library-readline-zig-0-16-0/16108 "2026-05-14T20:04:57Z")

</div>

I’m stuck on Stage #ZV2 Here are my logs: \[build\] Starting build... \[build\] If you don't see logs for 60s+, please contact us at hello@codecrafters.io \[build\] Step 1 complete. \[build\] Step 2 complete. \[build\] Step 3 co…

---

## [Test Failed with: ./build/shell: not found](https://forum.codecrafters.io/t/test-failed-with-build-shell-not-found/16105)

<div class="topic-metadata">

**Author:** [@vivekjoshi556](https://forum.codecrafters.io/u/vivekjoshi556)\
**Replies:** 3\
**Last updated:** [May 14, 2026, 1:03am UTC](https://forum.codecrafters.io/t/test-failed-with-build-shell-not-found/16105 "2026-05-14T01:03:22Z")

</div>

I’m stuck on Stage File completion #zv2. I’ve tried disabling this stage and trying another stage and there I see error that I expect like job not found or something relevant. But shell not found, I don’t know, that fee…

---

## [Failing first stage in Build: Shell with Python](https://forum.codecrafters.io/t/failing-first-stage-in-build-shell-with-python/16098)

<div class="topic-metadata">

**Author:** [@Kartik-Tatiparti](https://forum.codecrafters.io/u/Kartik-Tatiparti)\
**Replies:** 4\
**Last updated:** [May 9, 2026, 7:47pm UTC](https://forum.codecrafters.io/t/failing-first-stage-in-build-shell-with-python/16098 "2026-05-09T19:47:48Z")

</div>

I’m stuck on Stage #008 (I’m not sure where I can get the code, scanned the page. This is the “print a prompt” stage in build:shell with python) I’ve tried uncommenting the line and running the codecrafters submit comma…

---

## [Limiting history entries #ag6 Question](https://forum.codecrafters.io/t/limiting-history-entries-ag6-question/16096)

<div class="topic-metadata">

**Author:** [@xsynch](https://forum.codecrafters.io/u/xsynch)\
**Replies:** 2\
**Last updated:** [May 8, 2026, 1:16am UTC](https://forum.codecrafters.io/t/limiting-history-entries-ag6-question/16096 "2026-05-08T01:16:24Z")

</div>

I’m stuck on Stage #ag6 The question is about the tests being run. The first part of the tests where it tests my code for history size works successfully \[tester::#AG6\] Running tests for Stage #AG6 (History - Limiting …

---

## [\[Rust\] Stuck on #CZ2 after a long time | stdout doesn't work properly](https://forum.codecrafters.io/t/rust-stuck-on-cz2-after-a-long-time-stdout-doesnt-work-properly/16088)

<div class="topic-metadata">

**Author:** [@emrecancorapci](https://forum.codecrafters.io/u/emrecancorapci)\
**Replies:** 6\
**Last updated:** [May 8, 2026, 12:45am UTC](https://forum.codecrafters.io/t/rust-stuck-on-cz2-after-a-long-time-stdout-doesnt-work-properly/16088 "2026-05-08T00:45:07Z")

</div>

I’m stuck on Stage #CZ2. After a long time I decided to continue and had many problems with the challenge. Looks like there is a new build pipeline. I copied the necessary code from another repo and gave executable perm…

---

## [Problem with starting background job #AT7](https://forum.codecrafters.io/t/problem-with-starting-background-job-at7/16095)

<div class="topic-metadata">

**Author:** [@nsaritzky](https://forum.codecrafters.io/u/nsaritzky)\
**Replies:** 1\
**Last updated:** [May 7, 2026, 9:45pm UTC](https://forum.codecrafters.io/t/problem-with-starting-background-job-at7/16095 "2026-05-07T21:45:22Z")

</div>

I’m stuck on Stage #AT7. I’m seeing pretty much the same failure as in this closed thread. When I run my shell locally, I see $ sleep 30 & \[1\] 80952 $ ps -p 80952 PID TTY TIME CMD 80952 ttys016 0:00.00 s…

---

## [Unrelated test case for "Build your own Shell" - Single Quote](https://forum.codecrafters.io/t/unrelated-test-case-for-build-your-own-shell-single-quote/16080)

<div class="topic-metadata">

**Author:** [@Hoksolinvan](https://forum.codecrafters.io/u/Hoksolinvan)\
**Replies:** 4\
**Last updated:** [May 7, 2026, 7:01pm UTC](https://forum.codecrafters.io/t/unrelated-test-case-for-build-your-own-shell-single-quote/16080 "2026-05-07T19:01:40Z")

</div>

I was solving this section and got it to work, but at the very end the test case decided to test (Navigation - The cd builtin: Home directory) and it printed this to console. \[tester::#GP4\] Running tests for Stage #GP4 …

---

## [Update shell challenge to Zig v0.16.0](https://forum.codecrafters.io/t/update-shell-challenge-to-zig-v0-16-0/16073)

<div class="topic-metadata">

**Author:** [@elpablete](https://forum.codecrafters.io/u/elpablete)\
**Replies:** 3\
**Last updated:** [May 6, 2026, 8:32am UTC](https://forum.codecrafters.io/t/update-shell-challenge-to-zig-v0-16-0/16073 "2026-05-06T08:32:22Z")

</div>

Hi I would like to finally get into zig, and the new io interface and juicy main delivered in 0.16 seem to be a great momento to jump into the languaje. Can you update the buildpack for zig 0.16.0 for the shell challenge…

---

## [New extension: Programmable Completion (Shell)](https://forum.codecrafters.io/t/new-extension-programmable-completion-shell/16019)

<div class="topic-metadata">

**Author:** [@andy1li](https://forum.codecrafters.io/u/andy1li)\
**Replies:** 5\
**Last updated:** [May 5, 2026, 6:34am UTC](https://forum.codecrafters.io/t/new-extension-programmable-completion-shell/16019 "2026-05-05T06:34:15Z")

</div>

Hey everyone! The next extension for the Shell challenge is now live: Programmable Completion. Programmable Completion allows your shell to define custom completion behavior for commands, enabling context-aware suggest…

---

## [Readline not found during remote compile](https://forum.codecrafters.io/t/readline-not-found-during-remote-compile/16085)

<div class="topic-metadata">

**Author:** [@tenze21](https://forum.codecrafters.io/u/tenze21)\
**Replies:** 2\
**Last updated:** [May 3, 2026, 1:42pm UTC](https://forum.codecrafters.io/t/readline-not-found-during-remote-compile/16085 "2026-05-03T13:42:52Z")

</div>

Same issue as Usage of libraries \[compile\] app/main.c:14:10: fatal error: readline/readline.h: No such file or directory \[compile\] #include \<readline/readline.h\> \[compile\] ^~~~~~~~~~~~~~~~~~~~~ \[compile\] comp…

---

## [Unable to run tests due to broken environment](https://forum.codecrafters.io/t/unable-to-run-tests-due-to-broken-environment/16084)

<div class="topic-metadata">

**Author:** [@warpftl](https://forum.codecrafters.io/u/warpftl)\
**Replies:** 3\
**Last updated:** [May 2, 2026, 3:04pm UTC](https://forum.codecrafters.io/t/unable-to-run-tests-due-to-broken-environment/16084 "2026-05-02T15:04:03Z")

</div>

I’m stuck on Stage #ZV2. I am unable to run tests via codecrafters test due to errors that stem from the test run environment. First, I got this error: \[tester::#ZV2\] Running tests for Stage #ZV2 (Filename Completion …

---

## [How does this count as 20 characters and 1 line at the same time?](https://forum.codecrafters.io/t/how-does-this-count-as-20-characters-and-1-line-at-the-same-time/16081)

<div class="topic-metadata">

**Author:** [@MaxJuneKim](https://forum.codecrafters.io/u/MaxJuneKim)\
**Replies:** 3\
**Last updated:** [May 1, 2026, 5:12pm UTC](https://forum.codecrafters.io/t/how-does-this-count-as-20-characters-and-1-line-at-the-same-time/16081 "2026-05-01T17:12:15Z")

</div>

I’m at the pipe with built-ins stage. In the test, how does output of echo raspberry\\\\nblueberry | wc be 1 line and 20 characters at the same time? If I add a newline character at the end of every output of echo or any…

---

## [\[Rust\] #JV1 (redirect stdout) seems to require #NI6 (single quotes)](https://forum.codecrafters.io/t/rust-jv1-redirect-stdout-seems-to-require-ni6-single-quotes/15850)

<div class="topic-metadata">

**Author:** [@Thymelizabeth](https://forum.codecrafters.io/u/Thymelizabeth)\
**Replies:** 4\
**Last updated:** [April 15, 2026, 8:02pm UTC](https://forum.codecrafters.io/t/rust-jv1-redirect-stdout-seems-to-require-ni6-single-quotes/15850 "2026-04-15T20:02:20Z")

</div>

I’m stuck on Stage #JV1. (Redirect Stdout) Here are my logs: \[your-program\] $ echo 'Hello James' 1\> /tmp/rat/cow.md \[your-program\] $ cat /tmp/rat/cow.md \[your-program\] 'Hello James' \[tester::#JV1\] ^ Line does not match…

---

## [Bug in Starting background jobs #at7?](https://forum.codecrafters.io/t/bug-in-starting-background-jobs-at7/16026)

<div class="topic-metadata">

**Author:** [@fly-434](https://forum.codecrafters.io/u/fly-434)\
**Replies:** 10\
**Last updated:** [April 14, 2026, 11:08am UTC](https://forum.codecrafters.io/t/bug-in-starting-background-jobs-at7/16026 "2026-04-14T11:08:55Z")

</div>

I’m stuck on Stage #AT7 and I think there’s a bug in the testing code. The process is running in background, I can look up the pid in ps. My shell: $ sleep 15000 & \[1\] 90531 Bash: $ ps aux | grep 90531 dom …

---

## [\[C\] Implemented raw mode manually, but can't pass #UN3 Test anymore](https://forum.codecrafters.io/t/c-implemented-raw-mode-manually-but-cant-pass-un3-test-anymore/16003)

<div class="topic-metadata">

**Author:** [@KenyiPlatanazo](https://forum.codecrafters.io/u/KenyiPlatanazo)\
**Replies:** 3\
**Last updated:** [April 13, 2026, 9:11pm UTC](https://forum.codecrafters.io/t/c-implemented-raw-mode-manually-but-cant-pass-un3-test-anymore/16003 "2026-04-13T21:11:59Z")

</div>

I’m stuck on Stage #(QP2) due to an error I can’t replicate happening in #(UN3). For the command completion extension I decided to manually implement raw mode using the c-kilo text editor as reference. From there, I dec…

---

## [Stuck with #SX3](https://forum.codecrafters.io/t/stuck-with-sx3/16025)

<div class="topic-metadata">

**Author:** [@lakshyabatman](https://forum.codecrafters.io/u/lakshyabatman)\
**Replies:** 4\
**Last updated:** [April 13, 2026, 9:11pm UTC](https://forum.codecrafters.io/t/stuck-with-sx3/16025 "2026-04-13T21:11:32Z")

</div>

I’m stuck on Stage #SX3 Im not sure why but but in local my implementation works but test fails. \\\[tester::#SX3\\\] Running tests for Stage #SX3 (History Persistence - Append history to file) \\\[tester::#SX3\\\] Original hi…

---

## [Problem with 'cd' command and "/app" output in #RA6](https://forum.codecrafters.io/t/problem-with-cd-command-and-app-output-in-ra6/15993)

<div class="topic-metadata">

**Author:** [@FilipWiacek94](https://forum.codecrafters.io/u/FilipWiacek94)\
**Replies:** 4\
**Last updated:** [April 9, 2026, 9:07pm UTC](https://forum.codecrafters.io/t/problem-with-cd-command-and-app-output-in-ra6/15993 "2026-04-09T21:07:44Z")

</div>

I’m stuck on Stage #RA6. I’m not sure why—when I run the same commands locally, everything works fine. For the pwd command, the path is /tmp/strawberry/grape/mango, as expected. However, when I run the tests, they fail a…

---

## [Creating a dumb terminal](https://forum.codecrafters.io/t/creating-a-dumb-terminal/16011)

<div class="topic-metadata">

**Author:** [@ahmadbenali](https://forum.codecrafters.io/u/ahmadbenali)\
**Replies:** 5\
**Last updated:** [April 8, 2026, 11:55am UTC](https://forum.codecrafters.io/t/creating-a-dumb-terminal/16011 "2026-04-08T11:55:57Z")

</div>

I’m stuck on Stage #QP2. So i did change java version to 17 and add - - enable-native . i added the - - enable-native on edit config → modify options →add vm options and nothing changed. i added - - enable-native to p…

---

## [Weird behavior in C](https://forum.codecrafters.io/t/weird-behavior-in-c/16033)

<div class="topic-metadata">

**Author:** [@MaxJuneKim](https://forum.codecrafters.io/u/MaxJuneKim)\
**Replies:** 4\
**Last updated:** [April 8, 2026, 1:40am UTC](https://forum.codecrafters.io/t/weird-behavior-in-c/16033 "2026-04-08T01:40:45Z")

</div>

I’m doing this project in C. Every time I push my work, it fails with a couple of characters at the end of output. This always happens when testing puts some output into a file with echo command and uses cat command t…

---

## [Request to make "Build your own shell" available for this month as well](https://forum.codecrafters.io/t/request-to-make-build-your-own-shell-available-for-this-month-as-well/16022)

<div class="topic-metadata">

**Author:** [@utsavshahm](https://forum.codecrafters.io/u/utsavshahm)\
**Replies:** 3\
**Last updated:** [April 5, 2026, 7:31am UTC](https://forum.codecrafters.io/t/request-to-make-build-your-own-shell-available-for-this-month-as-well/16022 "2026-04-05T07:31:33Z")

</div>

Hi, I have started this challenge last month (completed 9 stages) and suddenly today I see it is not free anymore. Can you please make it available for this month as well? I discovered about the platform last month only. …

---

## [New extension: Background Jobs (Shell)](https://forum.codecrafters.io/t/new-extension-background-jobs-shell/15957)

<div class="topic-metadata">

**Author:** [@andy1li](https://forum.codecrafters.io/u/andy1li)\
**Replies:** 0\
**Last updated:** [April 1, 2026, 5:33am UTC](https://forum.codecrafters.io/t/new-extension-background-jobs-shell/15957 "2026-04-01T05:33:16Z")

</div>

Hey everyone! The next extension for the Shell challenge is now live: Background Jobs. Background jobs allow your shell to run commands without blocking the shell, so you can keep working while tasks run in the backgro…

---

## [Implement multiple pipeline with builtin](https://forum.codecrafters.io/t/implement-multiple-pipeline-with-builtin/16012)

<div class="topic-metadata">

**Author:** [@s7932182-del](https://forum.codecrafters.io/u/s7932182-del)\
**Replies:** 7\
**Last updated:** [March 29, 2026, 3:03pm UTC](https://forum.codecrafters.io/t/implement-multiple-pipeline-with-builtin/16012 "2026-03-29T15:03:39Z")

</div>

I’m stuck on Stage #NY9 I’ve tried to implement this features using multiprocessing and pipe.when i run my executable (./shell) it gives right output but tester fails. Here are my logs: \[tester::#NY9\] ^ Line does not…

---

## [Could not locate Gemfile](https://forum.codecrafters.io/t/could-not-locate-gemfile/16007)

<div class="topic-metadata">

**Author:** [@d-i-bondarenko](https://forum.codecrafters.io/u/d-i-bondarenko)\
**Replies:** 2\
**Last updated:** [March 22, 2026, 7:41pm UTC](https://forum.codecrafters.io/t/could-not-locate-gemfile/16007 "2026-03-22T19:41:29Z")

</div>

I’m stuck on Stage #ZV2. I’ve tried to find similar problems on that stage: Getting exec: zig-out/bin/main: not found error Error while finding module specification for 'app.main' Here are my logs from test run: \[co…

[Previous page](https://forum.codecrafters.io/tag/challenge-shell/9.md?match_all_tags=true&tags%5B%5D=challenge%3Ashell)

[Next page](https://forum.codecrafters.io/tag/challenge-shell/9.md?match_all_tags=true&page=2&tags%5B%5D=challenge%3Ashell)
