<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Cmd - 标签 - 研发日志 · R&amp;D Log</title><link>https://rd163.visword.com/tags/cmd/</link><description>Cmd - 标签 - 研发日志 · R&amp;D Log</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>whutluohui@gmail.com (小智晖)</managingEditor><webMaster>whutluohui@gmail.com (小智晖)</webMaster><copyright>本作品采用知识共享署名-非商业性使用 4.0 国际许可协议进行许可。</copyright><lastBuildDate>Sun, 12 Jan 2025 00:00:00 +0800</lastBuildDate><atom:link href="https://rd163.visword.com/tags/cmd/" rel="self" type="application/rss+xml"/><item><title>fzf 使用笔记</title><link>https://rd163.visword.com/posts/fzf/</link><pubDate>Sun, 12 Jan 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/fzf/</guid><description><![CDATA[<p><a href="https://github.com/junegunn/fzf" target="_blank" rel="noopener noreferrer">fzf</a> 是一款用 Go 语言编写的通用命令行模糊查找器（fuzzy finder）,以单一二进制分发、速度极快，官方称可在毫秒级处理上百万条目。它的本质是一个交互式过滤器——任何以换行分隔的列表(文件、进程、命令历史、Git 分支、<code>/etc/hosts</code> 中的主机名等)都能丢给它，再用模糊匹配快速缩小范围，最后把选中项输出到 STDOUT。</p>]]></description></item><item><title>Go 语言实现的命令行工具</title><link>https://rd163.visword.com/posts/cmd-by-golang/</link><pubDate>Sun, 12 Jan 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/cmd-by-golang/</guid><description>&lt;p>Go 语言在命令行工具领域有着大量优质项目。得益于交叉编译简单、单文件分发、启动快、并发模型轻量等特性,Go 已成为现代 CLI 工具最常用的实现语言之一。本文以 DNS 查询工具 &lt;a href="https://github.com/mr-karan/doggo" target="_blank" rel="noopener noreferrer">doggo&lt;/a> 为例,介绍这类工具的设计思路与实际用法。&lt;/p></description></item><item><title>Make 的替代品</title><link>https://rd163.visword.com/posts/make-alternative/</link><pubDate>Sun, 12 Jan 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/make-alternative/</guid><description><![CDATA[<p><a href="https://www.gnu.org/software/make/" target="_blank" rel="noopener noreferrer">Make</a> 诞生于 1976 年，几乎是 Unix 生态里事实上的构建工具标准。它的 <code>Makefile</code> 语法以「Tab 缩进敏感」「跨平台 shell 行为不一致」「变量与模式规则陡峭」著称。在 Go、Node.js、Rust 这类现代化项目里，直接用 Make 经常会踩到平台差异和语法陷阱。</p>]]></description></item><item><title>Rust 实现的命令行工具</title><link>https://rd163.visword.com/posts/cmd-by-rust/</link><pubDate>Sun, 12 Jan 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/cmd-by-rust/</guid><description><![CDATA[<p>近年来,Rust 在命令行工具领域出现了一大批高质量的项目。许多经典的 Unix 命令(<code>cat</code>、<code>ls</code>、<code>grep</code>、<code>find</code>、<code>cd</code> 等)都有了 Rust 重写的现代版本,它们在保留原工具习惯的同时,提供了更好的性能、更友好的输出和更丰富的功能。</p>]]></description></item><item><title>Tmux</title><link>https://rd163.visword.com/posts/tmux/</link><pubDate>Sun, 12 Jan 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/tmux/</guid><description><![CDATA[<p>Tmux 是一个终端复用器（terminal multiplexer），采用 ISC 许可证发布，作者 Nicholas Marriott，源码托管在 <a href="https://github.com/tmux/tmux" target="_blank" rel="noopener noreferrer">tmux/tmux</a>。它最核心的能力是把&quot;会话&quot;与&quot;终端窗口&quot;彻底解绑：进程在服务器后台持续运行，关闭终端、SSH 掉线都不会让任务中断。本文整理 Tmux 的层级模型、常用命令与配置要点，便于日常查阅。</p>]]></description></item></channel></rss>