Hi @00anteja23 ,
For passing to recovery mode, firstly you should plug in the recovery cable between TX2 kit and your host machine. Than, you should press reset and recovery button at the same. After that, just release the reset button but keep pressing the recovery button for short time. The idea of behind this process, recovery button should be pressed while tx2 device booting up. You can check whether tx2 is in recovery or not, type “lsusb” form your host linux terminal.
If you are in recovery mode, type “sdkmanager” from host machine. I assume you already download and install the sdkmanager. Sdkmanager will detect you tx2 device. After doing these steps, you can start the flashing process.