Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Precisely! You can pass the "-a" flag to print the entire answer or "-l" to get the link itself. "-p2" will give the second answer.

I find myself using the following command quite a bit:

open `howdoi print stack trace python -l`



-p2 gives the second search result's answer, not the second answer from the first result. Or so it seems from other replies.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: