# A developer hand-codes every Linux file utility in C in 52 minutes, no AI

Original title: No AI, 52 min. Build all Linux Files utils in C by Hand \[video\]

> Hacker News story 50290480 · language: en · submitted 2026-10-29
> Web version: https://zeli.app/story/50290480
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 157 · by [surprisetalk](<https://news.ycombinator.com/user?id=surprisetalk>) · 💬 120
[original](<https://www.youtube.com/watch?v=gQRmSlcTq9c>) · [HN discussion](<https://news.ycombinator.com/item?id=50290480>)

## Summary

A 52-minute video shows a programmer building all the standard Linux file utilities in C from scratch, with no AI assistance. Hacker News commenters quickly found a serious bug: the reimplemented touch opens files in "w" mode, so it truncates existing files to empty instead of just updating their timestamps. Others questioned the missing command-line argument handling and joked that the hand-written approach was "organic, hand woven" slop.

## Key quote

> No it will *replace* or create the files "touched" by an empty file. Major bug in the first command.

## HN discussion (120 comments)

### [firesteelrain](<https://news.ycombinator.com/item?id=50325782>)

> I only watched the first few minutes and thought no way touch is that simple! It isn’t. Because most of these utilities have a lot of scar tissue handling years of various edge cases and conditions. Something to be said for software engineering. If you try to build for all the edge conditions then getting a somewhat working example out would take too long
>
> I did appreciate the ways he used the man pages to build out the tools.
>
> Actual touch.c source: https://github.com/coreutils/coreutils/blob/master/src/touch...

### [ReDress](<https://news.ycombinator.com/item?id=50324011>)

> I just looked at the first example / utility he implemented; which was 'touch'
>
> Will this actually update the 'last modified' date for an already existing file?
>
> Also, there's a standard way of processing command line arguments on Linux/Unix, which is not being followed here.

### [jcfrei](<https://news.ycombinator.com/item?id=50324378>)

> I kind of expected this to happen: Coding will become an "artisanal craft" - much like woodworking for example. Sure for most of your furniture you can just go to ikea but every now and then you might get joy from making something with your own hands.

### [assumed_throwaw](<https://news.ycombinator.com/item?id=50324443>)

> I discovered his videos a few days ago. I imagine the "algorithm" pushed those into a lot of HN users' feeds.
>
> Just this morning, I was wondering if it would make sense to share it on HN. And here it it on the front page. What a small world.

### [gozzoo](<https://news.ycombinator.com/item?id=50324811>)

> We mostly saw the guy typing. The clicking sound is very distracting. Using vim didn't do him any favour. I would be much more impressed if we could get more insight into to the thinking and problem solving process. Also smoking is not commonly accepted productivity booster. He could have watched porn instead.

### [athrowaway3z](<https://news.ycombinator.com/item?id=50326039>)

> No splits timer. No frame perfect tricks. Uses "exploits" (touch truncates file). Terrible strats.
>
> Swapping to printf("Usage: %s ...\n",argv[0]); could easily save 60 key presses.
>
> Let us know when somebody creates a No-ABE category.

### [bananaquant](<https://news.ycombinator.com/item?id=50324594>)

> Finally a video where creator's face overlaid on top of the content actually contributes value.

### [ligarota](<https://news.ycombinator.com/item?id=50324712>)

> Just a guy using libc in fact...

---

## Cite

- Page: https://zeli.app/story/50290480
- Date: 2026-10-29
- Source: youtube.com (https://www.youtube.com/watch?v=gQRmSlcTq9c)
- Hacker News: https://news.ycombinator.com/item?id=50290480

## Other languages

- zh: https://zeli.app/zh/story/50290480 · markdown: https://zeli.app/zh/story/50290480.md
- ja: https://zeli.app/ja/story/50290480 · markdown: https://zeli.app/ja/story/50290480.md
- ko: https://zeli.app/ko/story/50290480 · markdown: https://zeli.app/ko/story/50290480.md
- de: https://zeli.app/de/story/50290480 · markdown: https://zeli.app/de/story/50290480.md
- es: https://zeli.app/es/story/50290480 · markdown: https://zeli.app/es/story/50290480.md
- ru: https://zeli.app/ru/story/50290480 · markdown: https://zeli.app/ru/story/50290480.md
