System version view
lsb_release -a
Install
sudo dpkg -i
delete folder
sudo rm -rf
Configure dependencies and install
apt-get install 包名
Uninstall the installation package and keep the configuration file
apt-get remove 包名
Uninstall the installation package without keeping the configuration file
apt-get purge / apt-get –purge remove
How many CPUs are bound to the process?
ps -eo pid,args,psr
cpu information
lscpu
Check the system process, press the number 1 after top to check the running status of each cpu
top
View serial port mount status
ls -l /dev/ttyUSB*
----Serial Port Permission-------
Permanent
sudo usermod -aG dialout orbbec//orbbec是用户名 需要电脑重启生效
single entry
sudo chmod 777 /dev/ttyUSB0
Laptop does not sleep when lid is closed
sudo nano /etc/systemd/logind.conf
HandleLidSwitch 合上笔记本盖后的行为,默认suspend (改为lock;即合盖不休眠)在原文件中,还要去掉前面的#
运行:systemctl restart systemd-logind 生效。
LAN copy files
scp 文件 待拷贝电脑用户名@ip:存储的文件名
find file command
find -name 待查找的文件名 区分大小写
find -iname 待查找的文件名 不区分大小写
Development Board Resolution Command
xrandr --fb 1920x1080 设置分辨率
在gnome-session-properties 中添加以上指令 分辨率开机自启动
xrandr 查看可设置的分辨率
Debian lxde autologin settings
编辑 /etc/lightdm/lightdm.conf文件
修改autologin-user=用户名 删除这条语句前的#
Compress the file as a tar package
tar -cvf FileName.tar DirName
Compress and decompress the file as zip
压缩zip -p -r 需要存储的文件名.zip 待压缩文件
解压unzip
end process
sudo kill -9 PID 可以用top指令查看要结束的进的PID
Check which scripts are executable, and give permission to chmod +x if they are not executable
ll
Display the address of the current terminal
pwd
Show hidden folders. Files beginning with
ctrl+h
jetson nano non-sleep setting
gsettings set org.gnome.desktop.session idle-delay 0