Ubuntu
常用命令
系统自带
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
|
sudo shutdown -h now
reboot
pwd
ls
ls -a
ls -al
cat
mkdir
cd
rm
rm -rf
mv
touch
find find /home/ -name notes.txt
ps -ef | grep python
tar -zxvf xxx.tar.gz
tar -zcvf
chmod
chmod 700 ~/.ssh chmod 600 ~/.ssh/id_rsa chmod 644 ~/.ssh/id_rsa.pub chmod 600 ~/.ssh/authorized_keys
netstat -tunlp | grep 8080
lsof -i:8080
du -sh
du -h --max-depth=1
|
v4l2-ctl
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| sudo apt-get install v4l-utils
v4l2-ctl --list-devices
v4l2-ctl --list-formats-ext
v4l2-ctl --list-formats-ext --device=/dev/video0
|
常用脚本
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
bash <(curl -sSL https://linuxmirrors.cn/main.sh)
wget http://fishros.com/install -O fishros && . fishros
sed -i "/# GitHub520 Host Start/Q" /etc/hosts && curl https://raw.hellogithub.com/hosts >> /etc/hosts
|
常用软件
旭日x3PI
常用命令
https://developer.horizon.ai/api/v1/fileData/doc/cn/common_doc_cn/xj3_board_command.html
1 2 3 4 5 6 7 8 9 10
| hrut_boardid
hrut_bpuprofile hrut_mac
hrut_somstatus
hrut_ddr
|