TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Prompting LLMs in Bash scripts

79 pointsby chilipepperhott3 months ago
<a href="https:&#x2F;&#x2F;github.com&#x2F;elijah-potter&#x2F;ofc">https:&#x2F;&#x2F;github.com&#x2F;elijah-potter&#x2F;ofc</a>

3 comments

wunderwuzzi233 months ago
Beware of ANSI escape codes where the LLM might hijack your terminal, aka Terminal DiLLMa.<p><a href="https:&#x2F;&#x2F;embracethered.com&#x2F;blog&#x2F;posts&#x2F;2024&#x2F;terminal-dillmas-prompt-injection-ansi-sequences&#x2F;" rel="nofollow">https:&#x2F;&#x2F;embracethered.com&#x2F;blog&#x2F;posts&#x2F;2024&#x2F;terminal-dillmas-p...</a>
评论 #43241960 未加载
评论 #43237831 未加载
TheDong3 months ago
I feel like the incumbent for running llm prompts, including locally, on the cli is llm: <a href="https:&#x2F;&#x2F;github.com&#x2F;simonw&#x2F;llm?tab=readme-ov-file#installing-a-model-that-runs-on-your-own-machine">https:&#x2F;&#x2F;github.com&#x2F;simonw&#x2F;llm?tab=readme-ov-file#installing-...</a><p>How does this compare?
zoobab3 months ago
Did a similar curl script to ask questions to Llama3 hosted at Duckduckgo:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;zoobab&#x2F;curlduck">https:&#x2F;&#x2F;github.com&#x2F;zoobab&#x2F;curlduck</a>