随笔分类 -  Linux 基础

摘要:``` #!/bin/bash # filename: a.sh # 设置PS4环境变量 export PS4='+ $(basename "$0"):${FUNCNAME}:$LINENO: ' if [ "$debug" == "true" -o "$debug" == "yes" ];then 阅读全文
posted @ 2022-08-12 16:04 liy36 阅读(1881) 评论(0) 推荐(0)
摘要:仓库管理 yum makecache # 生成元数据缓存 yum repolist all # 显示全部仓库 yum repolist enabled # 仅显示已启用的仓库(默认为此) yum repolist disabled # 仅显示已禁用的仓库 查询程序包 yum list all # 列 阅读全文
posted @ 2020-01-03 22:40 liy36 阅读(254) 评论(0) 推荐(0)