Start tftp daemon
root@bt:~# atftpd –daemon –port 69 /var/tmp
Check if service is enabled or not
root@bt:~# netstat -anup |grep 69
udp 0 0 0.0.0.0:69 0.0.0.0:* 1915/atftpd
-a : listen all, -n : do not resolve numeric into names, show numeric only, -u : udp, -p : process id of the service.
Stop tftpd with kill command
root@bt:~# kill -9 1915
root@bt:~# netstat -anup |grep 69
root@bt:~#
-9: means kill that cannot be blocked. As you can see from netstat with filter, no open connection exists with source port 69 anymore.