Linux
oojnoo
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
设置和查看环境变量
设置和查看环境变量 种类 永久 存放在配置文件中。 暂时 使用export命令声明,关闭shell即失效。 查看 查看单个环境变量 echo $NAME 查看所有环境变量 env 查看所有本地定义的环境变量 set 设置 所有用户永久 在/etc/profile文件中添加变量 e.g. vi /etc/profile 单一用户永久 在用户目录下的.bash_profile文件中增加变量 e.g. vi /home/user_name/.bash.profile 当原创 2021-01-27 17:34:42 · 297 阅读 · 0 评论 -
Watch 指令
Watch 间歇执行命令 watch [-dhvt] [-n <seconds>] [--differences[=cumulative]] [--help] [--interval=<seconds>] [--no-title] [--version] <command> -d | --differences 高亮显示差异部分 --cumulative 高亮显示“sticky” -n原创 2021-01-27 17:32:18 · 371 阅读 · 0 评论 -
SSH服务安装与启动
SSH服务安装与启动 安装ssh服务: $ sudo apt-get install openssh-client $ sudo apt-get install openssh-server 启动SSH服务: $ sudo /etc/init.d/ssh start 查看: ps -e | grep ssh 其中sshd表示ssh-server已启动,ssh表示ssh-client已启动 修改SSH端口号: $ sudo gedit /etc/ssh/sshd_config $ sudo /etc/i原创 2021-01-27 17:26:32 · 583 阅读 · 0 评论 -
查看Linux版本
查看Linux版本 查看Linux内核版本: cat /proc/version uname -a 查看Linux系统版本的命令: lsb_release -a //所有版本信息 cat /etc/issue cat /etc/redhat-release //Redhat原创 2021-01-27 17:22:16 · 222 阅读 · 0 评论 -
i2c-tools
i2c-tools i2cdetect 检测在系统上的i2c总线,例如: i2cdetect -l 检测挂载在i2c总线上器件,例如: i2cdetect -r -y 0 (检测i2c-0上的挂载情况) i2cdump 查看器件所有寄存器的值,例如: i2cdump -f -y 0 0x0c i2cset 设置器件寄存器的值,例如: ./i2cset -f -y 0 0x0c 0x00 0x11 (设置i2c-0上0x0c器件的0x00寄存器值为0x11)原创 2021-01-15 21:41:09 · 223 阅读 · 0 评论 -
Docker学习
CentOS7 Docker相关知识及操作原创 2019-12-18 14:50:45 · 206 阅读 · 0 评论 -
Ubuntu usb 摄像头
Ubuntu usb 摄像头 查看USB摄像头参数 打开摄像头原创 2019-11-25 22:37:16 · 621 阅读 · 0 评论 -
Vi&Java&Ant&Junit自学报告
Vim、Java、Ant、Junit自学 安装、配置、使用原创 2019-11-10 17:57:46 · 380 阅读 · 0 评论 -
Linux安装cmake
Linux-cmake:在网站下载安装包,并安装的流程。原创 2019-09-27 20:16:04 · 429 阅读 · 0 评论
分享