Hi tomlukeywood,
I followed your command.
Now the command not found thingy is gone.
But, Heimdall Fails to access device; Here is the terminal output.
lakshmikanth@lakshmikanth-System-Product-Name:~$ heimdall flash --KERNEL
Downloads/recovery.img
Heimdall v1.4.0
Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
libusbx: error [_get_usbfs_fd] libusbx couldn't open USB device
/dev/bus/usb/001/019: Permission denied
libusbx: error [_get_usbfs_fd] libusbx requires write access to USB device
nodes.
ERROR: Failed to access device. libusb error: -3