![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ubuntu
Breakwu
沙雕网友
展开
-
调节1080分辨率
cvt 1920 1080xrandrxrandr --newmode “1920x1080_60.00” 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsyncxrandr --addmode Virtual1 “1920x1080_60.00”原创 2019-04-10 10:04:58 · 224 阅读 · 0 评论 -
ubuntu18.04静态IP
去/etc/netplan/*yaml中修改network:version: 2renderer: NetworkManagerethernets:ens33:dhcp4: nodhcp6: noaddresses: [192.168.56.110/24, ]gateway4: 192.168.56.1其中ens33为网卡名字,改完保存后 sudo netplan apply...原创 2019-04-10 22:55:00 · 222 阅读 · 0 评论 -
虚拟机重新分配磁盘
sudo apt-get install gparted原创 2019-04-12 16:10:35 · 2782 阅读 · 0 评论 -
ubuntu环境搭建
git 安装配置用户名密码$ git config --global user.name "John Doe"$ git config --global user.email johndoe@example.comssh-keygen -t rsa -C "your_email@youremail.com"网卡固定IP/etc/network/interfacesauto eth0...原创 2019-04-12 17:01:23 · 145 阅读 · 0 评论 -
linux环境变量
格式PATH=$PATH:<PATH 1>:<PATH 2>:<PATH 3>:------:加载动态链接库目录export LD_LIBRARY_PATH=libname原创 2019-04-16 10:41:35 · 88 阅读 · 0 评论 -
unzip
unzip a.zip -d a原创 2019-04-16 20:11:46 · 142 阅读 · 0 评论 -
查看文件大小
如要查看当前目录已经使用总大小及当前目录下一级文件或文件夹各自使用的总空间大小,输入du -h --max-depth=1即可。klein@klein-ubuntu:~/source$ du -h --max-depth=144G ./j0162G .klein@klein-ubuntu:~/source$如要查看当前目录已使用总大小可输入:du -h --max-dept...原创 2019-06-07 22:43:21 · 252 阅读 · 0 评论 -
ubuntu16设置双网卡
打开/etc/network/interfaceauto ens35u1i4 //开发板iface ens35u1i4 inet dhcp#address 192.168.193.3#gateway 192.168.193.1auto ens33 //ubuntu网卡iface ens33 inet staticaddress 192.168.146.166gateway 19...原创 2019-07-17 10:15:40 · 617 阅读 · 0 评论