4

Whenever I proceed according to these instructions: https://getmonero.org/knowledge-base/user-guides/restore_account

And type: simplewallet –restore-deterministic-wallet

It just returns:

-bash: simplewallet: command not found

Are there any formatting mistakes that I am making that are causing this error?

Smart Kid
  • 6,583
  • 2
  • 37
  • 63

2 Answers2

4

Elaborating on user36303's post … Adding the directory location, where Monero's binaries reside, to your PATH variable, is just as simple as adding a line such a the following to the end of the .profile file in your home directory (in the below example, the Monero directory is /opt/monero).

PATH="${PATH}:/opt/monero"

This will avoid the command not found error. Next, you can check if the PATH edit works properly:

mac:~ dpzz$ which simplewallet
/opt/monero/simplewallet
dpzz
  • 4,539
  • 4
  • 22
  • 46
3

It's a formatting issue with the website. The correct command is indeed ./simplewallet --restore-deterministic-wallet. Note that flags always start with -- and not . Thus, if you ever encounter that again in a guide, ignore it and use --.

dEBRUYNE
  • 15,417
  • 18
  • 60
  • 114