user92818: i use the command 

electrum listaddresses -w .electrum/testnet/wallets....

On a bash console to get all addresses of the wallet.
This however also return the "change" addresses which i cannot actually use on my project.
Is there anyway to filter those addresses on bash or i need to open the wallet file and read it?

user5273: There's command specific help with electrum help <commandname>. If you run that for listaddresses you will see that the --receiving switch does what you want. So electrum listaddresses --receiving.

92818: <p>i use the command </p>

<blockquote>
  <p>electrum listaddresses -w .electrum/testnet/wallets....</p>
</blockquote>

<p>On a bash console to get all addresses of the wallet.
This however also return the "change" addresses which i cannot actually use on my project.
Is there anyway to filter those addresses on bash or i need to open the wallet file and read it?</p>
 5273: <p>There's command specific help with <code>electrum help &lt;commandname&gt;</code>. If you run that for listaddresses you will see that the --receiving switch does what you want. So <code>electrum listaddresses --receiving</code>.</p>
