Files
cheatsheet-tldr/tldr/hn
2025-04-26 00:18:47 +00:00

26 lines
505 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# hn
> Command-line interface for Hacker News.
> More information: <https://github.com/rafaelrinaldi/hn-cli#usage>.
- View stories on Hacker News:
`hn`
- View _number_ of stories on Hacker News:
`hn {{[-l|--limit]}} {{number}}`
- View stories on Hacker News, and keep the list open after selecting a link:
`hn {{[-k|--keep-open]}}`
- View stories on Hacker News sorted by submission date:
`hn --latest`