<p>Direct command-line access via <code>bitcoind</code> is not available any more. You <em>can</em> get access from the command line via the RPC (Remote Procedure Call) API, e.g. with python. The API calls list is found <a href="https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list" rel="nofollow">here</a>.</p>

<p>To give a specific example, you can access wallet information via the <a href="https://en.bitcoin.it/wiki/API_reference_%28JSON-RPC%29" rel="nofollow">Python RPC</a> API. Given that the client was booted with <code>rpcuser=user</code> and <code>rpcpassword=pass</code>, the sample python script illustrates how you can call the <code>getbalance</code> command:</p>

<pre><code>  from jsonrpc import ServiceProxy

  access = ServiceProxy("http://user:pass:8332")
  access.getinfo()
  access.listreceivedbyaddress(6)
  print access.getbalance()
</code></pre>

CC BY-SA 3.0
2016-04-05T03:28:53.070Z
This needs updating, it doesn't work anymore.
erikvold
CC BY-SA 3.0
2016-04-05T14:50:57.743Z
@erikvoid Updated to reflect the current state of things.
Rooke
CC BY-SA 3.0
2013-04-02T20:53:59.913Z
2016-04-05T14:49:54.643Z
2016-04-05T14:49:54.643Z
Rooke
<p>How can I show/open my wallet in gui-less linux version? I tried to show the contents with <code>cat</code> but it's only binary data (which makes sense). The <code>--help</code> option of <code>bitcoin/bin/64/bitcoind</code> also doesn't give me a hint.</p>

<wallet><linux>
How do I show my wallet from the command line?
arminb
# How do I show my wallet from the command line?

(Asked by: username_0 on 2013-04-02)

How can I show/open my wallet in gui-less linux version? I tried to show the contents with `cat` but it's only binary data (which makes sense). The `--help` option of `bitcoin/bin/64/bitcoind` also doesn't give me a hint.

**Tags:** wallet, linux


---

## 1 answers

### Answer by username_1 on 2013-04-02. Score: 5 | Accepted answer

Direct command-line access via bitcoind is not available any more. You can get access from the command line via the RPC (Remote Procedure Call) API, e.g. with python. The API calls list is found here.
To give a specific example, you can access wallet information via the Python RPC API. Given that the client was booted with rpcuser=user and rpcpassword=pass, the sample python script illustrates how you can call the getbalance command:
  from jsonrpc import ServiceProxy

  access = ServiceProxy("http://user:pass:8332")
  access.getinfo()
  access.listreceivedbyaddress(6)
  print access.getbalance()

> **Comments:**
> **username_2**: This needs updating, it doesn't work anymore.  
> **username_1**: @erikvoid Updated to reflect the current state of things.  

---

