如何在启动时自动运行终端并在Raspberry Pi3中输入命令?

我用了

sudo nano /etc/rc.local => LXTerminal
&
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart

但它不起作用 .

我该怎么办?请帮我 .