Command not found for "sudo ifconfig" when su - xilinx

The jupyter terminal already gives you sudo access. Why would you want to use the xilinx user there? If you really want to use non-root access, you can use the normal serial terminal instead of the jupyter terminal.