1.终端会话提示符
![](https://img-blog.csdnimg.cn/img_convert/12a9f479c16b94a58cc36f00536f890b.png)
2.超级用户(给予所有权限)
![](https://img-blog.csdnimg.cn/img_convert/b944325afe8bd211814b3fa0648c9883.png)
3.常用终端命令1(目录与文件展示)
![](https://img-blog.csdnimg.cn/img_convert/1ebee109feb4ce8b9d0cc81d9db28629.png)
4.常用终端命令2(文件的创建与查看)
![](https://img-blog.csdnimg.cn/img_convert/c99f06347315216240eaabdf2e298bdd.png)
5.常用终端命令3(文件的删除、重命名与移动)
![](https://img-blog.csdnimg.cn/img_convert/a1a9887fd3c35edde8d23178886d9598.png)
示例:
![](https://img-blog.csdnimg.cn/img_convert/40c877cc20a1488ce162c7c71989e46f.png)
6.nano编辑器(在终端中向文件写入内容)
![](https://img-blog.csdnimg.cn/img_convert/e1e08f8a0f8c388fee1e15fc04fdcb9c.png)
示例:
![](https://img-blog.csdnimg.cn/img_convert/8b4ca2c45daef04a3e839e31ee50c5d5.png)
![](https://img-blog.csdnimg.cn/img_convert/6e95618223a5e737eb40690b9ad61fb3.png)
7. 其他终端命令
(1) 关机命令:
sudo poweroff
sudo shutdown -h now
(2) python第三方库的安装:
python2:pip install pandas
python3:pip3 install pandas
(3) 安装WiringPi库:
sudo apt-get install wiringpi