1
0
forked from x/ContextOS
2019-07-15 08:49:22 +08:00

118 lines
1.1 KiB
Markdown

## 树莓派
- 官网:<https://www.raspberrypi.org/>
- 文档:<https://www.raspberrypi.org/documentation/>
- 开源:<https://github.com/raspberrypi>
## 基本配置
- 官网:<http://www.raspbian.org/>
- 文档:<http://www.raspbian.org/RaspbianDocumentation>
lsb_release
raspi-config
/boot/config.txt
/etc/network/interfaces
/etc/wpa_supplicant/wpa_supplicant.conf
/etc/hostname
/etc/hosts
## 基本命令
- 官网:<https://www.debian.org/>
- 文档:<https://www.debian.org/doc/>
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
## 基础编程
- 官网:<https://www.python.org/>
- 文档:<https://docs.python.org/2/>
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