FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
How-ToSystems

Turing Completeness of GNU find: From mkdir-assisted Loops to Standalone Computation

via Lobstersarxiv.org via asb1mo ago

Abstract: The Unix command find is among the first commands taught to beginners, yet remains indispensable for experienced engineers. In this paper, we demonstrate that find possesses unexpected computational power, establishing three Turing completeness results using the GNU implementation (a standard in Linux distributions). (1) find + mkdir (a system that has only find and mkdir) is Turing complete: by encoding computational states as directory paths and using regex back-references to copy substrings, we simulate 2-tag systems. (2) GNU find 4.9.0+ alone is Turing complete: by reading and writing to files during traver- sal, we simulate a two-counter machine without mkdir. (3) find + mkdir without regex back-references is still Turing complete: by a trick of encoding regex patterns directly into directory names, we achieve the same power. These results place find among the “surprisingly Turing-complete” systems, highlighting the hidden complexity within seemingly simple standard util

Continue reading on Lobsters

Opens in a new tab

Read Full Article
18 views

Related Articles

HadisKu Is Now Ad-Free: Why I Removed Ads From My Islamic App
How-To

HadisKu Is Now Ad-Free: Why I Removed Ads From My Islamic App

Dev.to • 14h ago

How-To

How To Be Productive — its not all about programming :)

Medium Programming • 14h ago

Welcome Thread - v371
How-To

Welcome Thread - v371

Dev.to • 14h ago

Which Software to Develop Apps Is Best in 2026? Top Tools Reviewed
How-To

Which Software to Develop Apps Is Best in 2026? Top Tools Reviewed

Medium Programming • 14h ago

What You Need to Know About Building an Outdoor Sauna (2026)
How-To

What You Need to Know About Building an Outdoor Sauna (2026)

Wired • 15h ago

Discover More Articles