Author

Topic: File .bat with Linux? (Read 763 times)

Buo
member
Activity: 112
Merit: 10
June 19, 2014, 03:46:55 PM
#6
Thanks  Smiley
cp1
hero member
Activity: 616
Merit: 500
Stop using branwallets
June 19, 2014, 03:44:13 PM
#5
No I don't need internet connection, I just want to generate the private keys in an offline linux live-cd.

Where does linux bitcoin-qt store the blockchain?
In the same directory of the qt or in another directory like in windows?

Normally it's in your home directory in .bitcoin
cp1
hero member
Activity: 616
Merit: 500
Stop using branwallets
June 19, 2014, 03:42:02 PM
#4
Code:
#!/bin/bash
if [ ! -f ./DATA ]; then
    mkdir ./DATA
fi
/usr/local/bin/bitcoin-qt -min -datadir=./DATA

save it as run_bitcoin
then type:
sh run_bitcoin
or:
chmod u+x run_bitcoin
./run_bitcoin

type which bitcoin-qt to make sure it's in /usr/local/bin
Buo
member
Activity: 112
Merit: 10
June 19, 2014, 03:39:04 PM
#3
No I don't need internet connection, I just want to generate the private keys in an offline linux live-cd.

Where does linux bitcoin-qt store the blockchain?
In the same directory of the qt or in another directory like in windows?
sr. member
Activity: 294
Merit: 250
June 19, 2014, 03:30:05 PM
#2
If you're using bitcoin core (bitcoin-qt) then I think I'm right in saying that you need an Internet connection to refresh/verify the blockchain. So this is not proper cold storage.

Try electrum instead.

Buo
member
Activity: 112
Merit: 10
June 19, 2014, 02:24:53 PM
#1
To start the bitcoin-qt and store the blockchain in the same directory I use this .bat file in windows:

Code:
IF NOT EXIST .\DATA mkdir DATA
start bitcoin-qt.exe -min -datadir=.\DATA
exit

How can I create a similar file in Linux?
I'm a totally beginner with it but I need Ubuntu for cold storage.
Jump to: