HackerURLs

一次又一次被重新发现的经典。

同一个链接,相隔一年以上,一次又一次被人重新发现、再次冲上 Hacker News 首页。能经受住这种时间检验的,大多是值得一读再读的文章。每篇附中文标题,讨论最热的那些再加上中文导读和高赞评论翻译。

从名人堂开始
  • 4,700+篇经过时间检验的经典

Hall of fame

名人堂

在经典库里看全部精选

上首页次数最多、而且有中文导读的 30 篇。时间轴上每个黑点是一次上首页,空心点是一次没冲上去的投稿。

  1. 正在载入经典…

Archive

经典库

按第一次上首页的年份分布,点柱子筛选。

排序

    About

    这些经典是怎么挑出来的

    1. 01

      合并同一个链接

      读取 Hacker News 自 2006 年以来的全部链接投稿,把 http/https、www、跟踪参数等写法不同的同一篇文章合并成一条。

    2. 02

      只留经得起时间的

      同一链接至少两次拿到 50 分以上(约等于上首页),而且两次相隔一年以上;再由 AI 剔除状态页、产品首页和新闻事件。

    3. 03

      写导读、译评论

      上首页次数最多的 2,000 篇配上中文导读、"为什么经久不衰",并精选翻译 HN 高赞评论。导读由 AI 生成,可能有误。

    工具与资源kkovacs.eu编辑精选

    冷门但有趣的 Unix 工具

    Cool, but obscure Unix tools

    2次上首页
    3年跨度
    748累计得分
    181条评论

    2011 — 2014,它一次次回到首页

    黑点是上首页(≥ 50 分)的那次投稿,空心点是没冲上去的投稿,点越大分数越高。

    导读

    这篇页面列举了一批“酷但冷门”的 Unix 命令行工具,并附简短用途说明,覆盖文件处理、网络、系统信息等场景。评论区指出其中 vim、rsync、xargs 等其实并不冷门,部分描述也不够准确,但仍补充了 moreutils、socat 等实用推荐。

    为什么经久不衰:Unix 小工具常藏在手册和包管理器里,这份清单加评论区的纠错与补充,能帮人发现省事的命令行利器,所以多年后仍值得翻。

    关键词 Unix 工具命令行冷门工具工具清单

    HN 评论精选

    补充了一长串值得一试的冷门/半冷门 Unix 工具清单。

    列举了 abcde、apg、boxes、bsdiff、pv、qmv 等一批冷门工具及其用途(如 CD 抓轨、随机密码、二进制差异、管道进度监控等)。

    gnosis查看英文原文

    abcde - CD to mp3 ripper apg - random password generator base64 - better than uuencode boxes - draw any kind of boxes around your text bsdiff - binary differ bspatch - binary patcher bvi - binary vi (yet another hex editor) ccx2 - console xmms2 client clive - flash video downloader dvipdfmx - dvi to pdf converter enfuse - poor man's HDR get_flash_videos - yet another flash video downloader glark - advanced grep indent - code beautifier lshw - list hardware configuration mcurl - multiple part downloader using curl mktemp - safely create temporary files and directories msort - sort records in complex ways netbrake - bandwidth limiter od - octal dump par - paragraph reformatter par2 - archive verification and repair tool ped - sed done right with perl pinfo - color info reader pipe.vim - make vim part of a unix pipe and allow it to edit the pipe contents pv - Pipe Viewer: a tool for monitoring the progress of data through a pipe pydf - pretty df (disk space viewer) qmv - use your favorite editor to rename files (part of renameutils) qodem - modem program that can do serial, telnet, ssh, zmodem, kermit, etc rdiff-backup - like rsync, but can do incremental backups recode - like dos2unix and unix2dos, but with many more encodings recordmydesktop - make screencast videos remark - great logfile colorizer (part of regex-markup) rkhunter - find rootkit infections rlwrap - add readline editing support to any command safecopy - data recovery tool (better than dd) sponge - soak up stdin and write to a file (for things like pipeline editing) sux - su while transferring X credentials unbuffer - force flushing of stdout upx - executable compressor utimer - countdown timer and stopwatch vared - edit shell variables (part of zsh) watch - run a command multiple times and display the output (with differences highlighted) xdotool - simulate keyboard and mouse activity xxd - hex dump zargs - a version of xargs that makes the find command redundant (part of zsh) zed - very small and fast vi-like editor (part of zsh) zrun - automatically uncompress arguments to command

    批评文章把基础工具当冷门且描述不准,建议改称初学者备忘单。

    这类“冷门命令”列表几乎总会混进我或其他系统管理员日常必备的工具。要是有一篇文章不包含任何 *nix 管理员每天都会用的基础命令就好了。把 vi 和 emacs 列进去简直荒谬——如果你还没听说过它们,那真不该在命令行里混,更别说读这种文档。这类文章大多应该改名为“实用命令行工具初学者备忘单”,或者干脆别写,因为它们在重复每周都会出现的相同推荐,而且其中不少描述还不准确。也许我这周末该写自己的版本,要有像样的程序选择、描述和用法示例。

    laumars查看英文原文

    I know lists like this will almost always contain at least one command that I, or any other sys admin on here, would use fairly regularly. But it would be nice if just once an article about "obscure" CLI commands didn't include stuff that's the most basic of essential every day staples for any *nix administrator. Including stuff like vi and emacs is just ridiculous, quite frankly. If you haven't heard of them already then you really have no place in the command line, let alone reading a document like this. Most of these types of articles should be rebanded as "beginners cheat sheet for handy command line tools" or just not written to begin with (because, frankly, they're just repeating all the same recommendations as every other article like this that pops up each week and few of them have any descriptions that are accurate either). Maybe my job this weekend will be to write my own version of these documents but with a decent selection of programs, descriptions and example usages?

    推荐 moreutils 中的 sponge、vipe、ts 等管道增强工具。

    我很喜欢 Joey Hess 的 moreutils。例子:sponge 会读完所有 stdin 再写入指定文件,适合管道:sed "s/root/toor/" /etc/passwd | grep -v joey | sponge /etc/passwd;vipe 能轻松在管道链中间插入一个 $EDITOR 实例;ts 给所有标准输入加时间戳,适合长时间运行的输出。

    alec查看英文原文

    I'm a big fan of Joey Hess' moreutils - https://joeyh.name/code/moreutils/ Examples: - sponge: read in all of stdin, then write to the given file. Great for pipelines: sed "s/root/toor/" /etc/passwd | grep -v joey | sponge /etc/passwd - vipe: easily drop a $EDITOR instance in the middle of a pipe chain - ts: timestamp all standard input; great for long-running output

    socat 是 netcat 的强化版,能处理复杂网络隧道和转发。

    他提到的最好的不太知名工具是 socat。如果你用 netcat,socat 就像加强版 netcat。只是选项有点难记,但下次你想用 netcat 做它不支持的疯狂事情时,比如把防火墙企业网络里某台机器无线接口的原始数据包通过 SSL 隧道传到家里电脑并本地转储到串口,socat 几乎都能做到。

    vesinisa查看英文原文

    The best not-so-well-known tool he mentiions is socat. If you use netcat, socat is like netcat on steroids. It's just a bit hard to remember all the options, but next time there's something crazy you want to do with netcat that it doesn't support, like tunnelling raw packets from a wireless interface on a machine in firewalled corporate network through an SSL tunnel to home machine and dumping those packets locally to a serial port, socat can pretty much do it all.

    历次讨论

    同类还值得读

    1. 直接在浏览器中启动 Linux 内核

      Boot a linux kernel right inside your browser.

      Fabrice Bellard 的 JSLinux 页面,用 JavaScript 在浏览器里启动一个 Linux 内核,并提供一个可交互的终端环境。

      工具与资源上首页 5 次 · 2011–2025bellard.org
    2. Hacker News 未公开功能与行为清单(2018)

      A List of Hacker News's Undocumented Features and Behaviors (2018)

      数据科学家 Max Woolf 整理的 Hacker News 未公开功能与行为清单,涵盖投票机制、排名算法、账号惩罚等社区运作细节。

      工具与资源上首页 5 次 · 2019–2025github.com
    3. MapSCII:在终端中用盲文和 ASCII 渲染地图

      MapSCII – Braille and ASCII map renderer for the console

      MapSCII 是一个在命令行终端里渲染地图的开源工具,用盲文字符和 ASCII 字符把地理数据画成可交互浏览的字符地图。

      工具与资源上首页 5 次 · 2017–2025github.com
    4. 顶尖大学的免费在线课程

      Free Online Courses from Top Universities

      Open Culture 整理的一份免费在线课程合集,汇集了全球顶尖大学(如 MIT、斯坦福、耶鲁等)向公众开放的网络课程资源,涵盖音频、视频等多种形式。

      工具与资源上首页 5 次 · 2010–2022openculture.com
    5. 淘气字符串:容易引发用户输入问题的字符串清单

      Naughty Strings: A list of strings likely to cause issues as user-input data

      一个 GitHub 仓库,收录了大量容易让程序出问题的用户输入字符串,如特殊字符、emoji、SQL 注入片段、系统命令等,供开发者用于测试输入处理逻辑。

      工具与资源上首页 4 次 · 2015–2020github.com

    打赏支持

    打赏二维码

    觉得有用,请作者喝杯咖啡。

    WeChat

    关注向阳乔木

    微信公众号「向阳乔木推荐看」

    微信公众号「向阳乔木推荐看」二维码

    微信扫一扫;在微信里打开本页时,长按二维码识别。