1) Install prerequisites:
sudo apt-get install libcryptx-perl jq
2) install Bitcoin core
sudo snap install bitcoin-core
3) clone the ByteStamp repo
git clone https://github.com/bytestamp/bt.git
4) make the script executable
5) depending on your environment, put the script in your path
Done!
Now you can do
This will list BlockChain information about FILEs
If no file is registered to BlockChain then register FILEs
The script is self-explained and can be used to understand how to connect to ByteStamp webservices with any programming language.
For a deeper insight:
How to register file into blockchain with Ubuntu