树莓派-系统篇

shell程序开机启动

核心文件是 /etc/profile

1
2
3
4
vim /etc/profile

#将需要开机自启动的文件路径加入
/home/pi/text.sh

获取系统位数

1
getconf LONG_BIT