Im trying to create a config file in UBuntu 15.10 VPS by doing this:
sudo nano $HOME/.yourcoin/yourcoin.confBut when I try to exit and save it says error writing no such file or directory. I also tried mkdir but can't do it. I want to create this config file.
1 Answer
To clarify, you are trying to create a root access file (because you are using sudo), inside a hidden directory under $HOME. Also, the directory may not exist yet, so first try:
cd ~/.yourcoinIf it fails, it is likely that the directory does not exist, so then try:
mkdir ~/.yourcoinOnce you are sure the directory is there, then try:
sudo nano ~/.yourcoin/yourcoin.conf