How to make those 2 commands work together in one bash line?
<p>I would like to connect via tftp with: <code>tftp Server_IP Port</code></p>

<p>THEN to get a file from the server with: <code>get filename.txt</code></p>

<p>The server I'm trying to connect to in FreeBSD, here is doc about the FreeBSD tftp client <a href="https://www.freebsd.org/cgi/man.cgi?query=tftp&amp;sektion=1&amp;manpath=FreeBSD%208.2-RELEASE" rel="nofollow">here</a></p>

<p>I want to make those two commands in one Bash line, I was thinking of <code>tftp Server_IP Port; get filename.txt</code> but it does not work.</p>

<p>Any suggestion ?</p>

<p>Thanks</p>