标签:
记录一些我用过的命令
1 sudo apt-get update 3 sudo apt-get install vim 5 vim /etc/apt/sources.list 6 cd /etc/apt/ 8 sudo vim /etc/apt/sources.list 9 sudo apt-get update 11 ping ustc.edu.cn 19 sudo passwd 20 reboot 21 sudo reboot 23 su root 24 sudo passwd pi 25 sudo apt-get install python-pip 29 sudo apt-get install fuse-utils ntfs-3g 30 modprobe fuse 31 sudo modprobe fuse 32 sudo vim /etc/fstab 33 sudo apt-get install exfat-fuse 36 sudo pip install bpython 37 sudo apt-get install python-dev 39 sudo pip install ipython 44 sudo apt-get install nmap 46 sudo apt-get upgrade 49 sudo pip install ipython 51 sudo pip install bpython 53 sudo pip install virtualenv 54 df 55 df -lh 59 fdisk -l 60 sudo fdisk -l 61 df -h 62 sudo fdisk /dev/mmcblk0 63 sudo reboot 64 sudo resize2fs /dev/mmcblk0p2 65 df -h 67 sudo apt-get install -y dnsmasq 68 sudo vim /etc/dnsmasq.conf 69 sudo service dnsmasq restart 70 dig 71 sudo apt-get install dnsutils 72 ls 73 dig www.baidu.com 74 sudo vim /etc/dnsmasq.conf 75 sudo service dnsmasq restart 76 dig www.baidu.com 77 sudo vim /etc/resolv.conf 78 sudo service dnsmasq restart 79 dig www.baidu.com 80 chkconfig dnsmapq on 81 find resolv.dnsmapq.conf 82 dig jd.com 84 sudo vim /etc/dnsmasq.conf 98 netstat -lpnt 99 ps -ef 115 ifconfig 128 sudo service --status-all 134 service dnsmasq status 139 sudo apt-get install git 140 sudo easy_install -U distribute 141 python -V 142 sudo pip install rpi.gpio 208 alias ll=‘ls -lh‘ 212 source /etc/profile 216 sudo raspi-config
标签:
原文地址:http://www.cnblogs.com/tk091/p/4340673.html