I made an GPT-powered Linux shell that guesses your bash command (and hallucinates crazy stuff)

River's Educational Channel · 38K views · 2021 · 4:41

Open on YouTube

LLMs & generative AITesting, debugging & developer toolsdemodated

Why Hacker News recommends it

Cited as an early, amusing example of LLM-driven command-line toys, with commenters sharing similar experiments.

What it is

A short demo of a GPT-powered Linux shell that guesses the bash command you meant and sometimes hallucinates absurd results. The creator stresses that it is real and should not be trusted.

Recommended by 0 HN commenters across 0 different months, 2021 to 2022.

What Hacker News said

Cites riveducha · 2021-08 · on “OpenAI's Codex sure knows a lot about HN [video]”

I made a similar little GPT-3 toy (for Linux/bash) that also ended up generating a Rickroll URL.[0] In vague cases, GPT-3 functions approximately as well as a markov chain - it will give you the most “probable” sequence of tokens. There’s some implementation details regarding how it deals with tokenization, but unless you really increase the randomness (“temperature”) you’re likely to get very popular YT video IDs. In other cases, it will “hallucinate” things like URLs, UUIDs, hashes, and other things that are basically a random string of characters. In my experience it will make UUIDs that have the right number of characters but seem suspiciously non-random and don’t fit any of the defined

Cites vfinn · 2021-11 · on “Useful sed scripts and patterns”

Waiting for an AI powered shell, or something similar, so that one can avoid wasting time on these trivial tasks that require too much attention if solved with traditional methods: "I made an OpenAI-powered Linux shell that guesses your bash command": [this video]

Cites O_H_E · 2022-03 · on “Fish 3.4.0”

Yup, right here [this video] I remember that I was able to replicate this last year, not 100% sure why I'm not using it daily tho. :D One thing to note, the limited waitinglist he talks about in the video is done, and now you can sign up and "pay" for ~NLP~...ahem CLP tokens as OpenAI calls them