find: The Little Language Pretending to Be a Command
The article discusses the Unix command 'find' and its unique approach to file searching. Unlike typical commands that use flags, 'find' employs a small query language that allows for complex expressions. This design promotes both elegance and safety in file management tasks.
- ▪The 'find' command allows users to search for files using a small vocabulary of terms and operators.
- ▪It evaluates expressions for each file in a directory tree, executing actions based on the results.
- ▪The command supports safe handling of filenames with spaces and special characters through null-separated pipelines.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3841501) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Vivian Voss Posted on May 26 • Originally published at vivianvoss.net find: The Little Language Pretending to Be a Command #unix #freebsd #cli #sysadmin Technical Beauty (10 Part Series) 1 vi 2 Let's Encrypt ... 6 more parts... 3 DTrace 4 ssh-agent 5 Markdown 6 pf 7 doas 8 tcpdump 9 grep: An Hour at Bell Labs in 1973 10 find: The Little Language Pretending to Be a Command Technical Beauty — Episode 37 A disk is filling up.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).