使用Linux這麼長時間以來,感覺screen命令非常有用,不熟悉的同學可以自行搜索一下
如果系統聯網,那萬事大吉
sudo apt-get install screen
不能聯網的開發板,那麼下載源碼
https://ftp.gnu.org/gnu/screen/
解壓後,新建build目錄
mkdir build
cd build
../configure
如果configure沒有出錯,那麼觀世音菩薩保佑,如果提示:
configure: error: !!! no tgetent - no screen
那麼需要說明未安裝ncurses-devel
下載地址:http://ftp.gnu.org/gnu/ncurses/
tar -zxvf ncurses-xx.tar.gz解壓
同樣的進入目錄,新建build,
../configure
make
make install