To start the bitcoin-qt and store the blockchain in the same directory I use this .bat file in windows:
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.