Bash As Agent: Testing SLMs on Linux
dev.to·3d·
Discuss: DEV
🐧Linux
Preview
Report Post

I’m an engineering technician currently interested in testing slms or small language models. I do this in CPU-only mode and always on a Linux OS - the same type of environments that pro devs deploy to: Linux servers, containers, CI runners, and Unix-style shells.

Using this particular setup and testing the gemma-3-4b slm, has led me to a simple observation: within the operating system, many of the tasks I was asking the small language model to help with are already solved—efficiently and deterministically—by the OS itself and its powerful shell - Bash (or bash-like shells such as zsh).

This isn’t an argument against AI - I’m an advocate of AI. And it’s not a claim that Bash is “smarter” than a model in any general sense. Bash can’t reason, plan, or operate outside the operating sy…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help