随笔分类 -  linux

linux系统
摘要:shell和bash的区别 sh 跟bash的区别,实际上是bash有没开启POSIX模式的区别 sh是bash的一种特殊的模式,sh就是开启了POSIX标准的bash, /bin/sh 相当于 /bin/bash --posix Linux系统上/bin/sh往往是指向/bin/bash的符号链接 阅读全文
posted @ 2022-10-29 23:53 DaxMeng 阅读(222) 评论(0) 推荐(0)
mac系统命令
摘要:系统环境变量 更改当前用户下,文件夹权限 sudo chown -R ${USER}:所在组 /usr/local/xxxx Mac系统的环境变量,加载顺序为: /etc/profile /etc/paths ~/.bash_profile ~/.bash_login ~/.profile ~/.b 阅读全文
posted @ 2022-04-29 15:10 DaxMeng 阅读(107) 评论(0) 推荐(0)
linux命令
摘要:系统命令 # 查看系统版本 cat /etc/issue lsb_release -a cat /etc/os-release cat /etc/redhat-release # 这种方法只适合Redhat系的Linux # 查看Linux内核版本: 1、cat /proc/version 2、un 阅读全文
posted @ 2021-01-15 13:19 DaxMeng 阅读(189) 评论(0) 推荐(0)