1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-05-11 22:48:14 +08:00
2019-07-15 08:49:22 +08:00

1.1 KiB

树莓派

基本配置

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