Print the GitHub Octocat With curl
Fetch GitHub's ASCII mascot from the public API.
01Command
$ curl -s https://api.github.com/octocat02What it does
GitHub's public meta endpoint returns the Octocat as ASCII art and is a harmless way to test HTTP access from a new machine. Add -H 'Accept: text/plain' to get clean text and combine it with a shell greeting for a fun login banner.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- Get Octocat — GitHub REST APIEvidence: Official endpoint documentation for GET /octocat.
Last verified: 2026-09-20 · Category: Network
06Related solutions
One command that prints every interface with its state and IPv4/IPv6 addresses in a short table — the modern, memorable replacement for digging through `ifconfig` or the verbose `ip addr` output.
The classic forgotten-syntax command: `traceroute` shows every router between you and a destination plus the round-trip time of probes to each hop.
Add a UFW rule to permit inbound traffic on a TCP or UDP port, such as SSH on port 22.