restart2data compilation problem

I compile the restart2data.cpp by the following command in UBUNTU:

make restart2data

it successfully builds the "restart2data", but when I run the following commmand I have this error:

restart2data binary datafile
restart2data: command not found

This is a linux problem, not a lammps problem. You can either put restart2data somewhere in your $PATH, or move to the directory where it is and run it as ./restart2data