forked from x/ContextOS
1.1 KiB
1.1 KiB
树莓派
- 官网:https://www.raspberrypi.org/
- 文档:https://www.raspberrypi.org/documentation/
- 开源:https://github.com/raspberrypi
基本配置
lsb_release raspi-config /boot/config.txt
/etc/network/interfaces /etc/wpa_supplicant/wpa_supplicant.conf
/etc/hostname /etc/hosts
基本命令
ls cp mv rm cd pwd mkdir rmdir
cat echo more nano vi
sudo chmod chown
find grep
ps fg bg top kill killall history alias man
df date lsusb lsmod
wget curl tar git
apt-get update apt-get install apt-get remove apt-get clean
apt-get install python-pip pip install
crontab /etc/rc.local /etc/init.d/ update-rc.d
基础编程
python hi.py
input() print() open()
int() str() len()
if elif else for in range/enumerate while break continue
def
class new
try except else finally
from import as