ubuntu常用指令
Linux 查看CPU信息,机器型号,内存等信息:https://blog.csdn.net/seapeak007/article/details/80764906
终端SSH连接服务器:ssh ubuntu@192.168.2.193
退出SSH连接:exit 或者 Ctrl+D
上传/下载文件或文件夹(scp [src] [dst])
scp -r username@1.2.3.4:/home/username/text.txt
scp -r localfile.txt username@1.2.3.4:/home/username/
scp -r yinwenbin@10.100.1.239:/home/yinwenbin/workspace/MultiScaleRetinex/cuda/ /home/yinwenbin/workspace/videoAnalyze.subject.yinwenbin/4src/MultiScaleRetinex/
scp -r -P 5003 /home/yinwenbin/workspace/videoAnalyze.subject.yinwenbin/4src/MultiScaleRetinex/cuda/ root@10.100.1.239:/home/workspace/MultiScaleRetinex
ubuntu18.04指令:
umount /run/user/1000/gvfs
rm -rf /run/user/1000/gvfs
ubuntu上jpg文件转BMP文件:
sudo apt install libjpeg-turbo-progs
djpeg -bmp -outfile outputname.bmp inputname.jpg
查看软件可安装的版本:apt-cache madison <...>
为软件添加启动图标
sudo vi /usr/share/applications/postman.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=postman
Icon=/opt/Postman/app/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;