how to create one command line configuration tool with shell language on Linux All In One
如何在 Linux 上用 shell 语言创建一个命令行配置工具
Raspberry Pi configuration tool
$ sudo raspi-config
# 等价于,直接修改
$ sudo vim /boot/config.txt

$DISPLAY
# 设置 $DISPLAY 环境变量 ✅
$ export DISPLAY=:0.0
# 查看 $DISPLAY
$ echo $DISPLAY
:0.0
$ set | grep DISPLAY
DISPLAY=:0.0

$ cat /boot/config.txt | grep "display"
# uncomment to force a console size. By default it will be display's size minus
# uncomment if hdmi display is not detected and composite is being output
# no display
# Automatically load overlays for detected DSI displays
display_auto_detect=1
# Disable compensation for displays with overscan

shell

https://github.com/asb/raspi-config
demos
(? 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https://www.cnblogs.com/xgqfrms/ 查看原创文章!
refs
https://www.raspberrypi.com/documentation/computers/configuration.html
https://www.cnblogs.com/xgqfrms/p/17318422.html#5167925
©xgqfrms 2012-2021
www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 ?️,侵权必究⚠️!