1. List of txid: In simplewallet, type incoming_transfers then enter, copy the output in a text file and use the search function of your editor.
  2. List of transaction for a specific payment ID: in simplewallet, type payments then enter.

NB.The binary used to be named simplewallet and it got changed to monero-wallet-cli at one point. It’s the same wallet, only different name. Be sure that you got it at https://getmonero.org/downloads official site.