Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

OS: Linux Mint 14

Is there an equivalent of the pick command available in Linux? Pick command is the one where for each given argument, it asks yes/no and prints the selection to stdout. This script is commonly described in unix books (unix power tools).

share|improve this question
I don't know pick but maybe you can achieve the same with grep? – André Stannek Feb 24 '13 at 13:34
up vote 1 down vote accepted

That utility is just a little shell script, not – as far as I know – anything that is regularly shipped with Unix systems or Linux distributions.

You can find it in the Examples section on O'Reilly's site: description, script itself. Save it to a file somewhere in your $PATH and make it executable and you're ready to go.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.