uos命令_ubuntu、debian、uos的命令

curPath=$(dirname $(readlink -f "$0"))cd $curPath12

查询大的文件和文件夹find . -type f -size +100M1

**

sh -x /root/scripts/extend.sh >/root/exeted.log 2>&1 &

redhat bug

**

https://bugzilla.redhat.com/show_bug.cgi?id=1294415

1. 只下载不安装:

https://www.cnblogs.com/qianqian0107/p/12071626.html

ubuntu : apt-get 命令大全https://www.cnblogs.com/qianqian0107/p/12071626.htmlhttps://blog.csdn.net/yanjiee/article/details/84994301apt-get install aptitude会在 /var/cache/apt/archives下面有这个aptitude的安装包aptitude download 只下载不安装,在下面的路径中查找到deb

ll /var/cache/apt/archives 或者在上条命令执行的文件夹下aptitude 查看补全依赖,但是不安装只下载apt-get -f install -d     (主要是这个-d,可以通过man apt-get了解详情)下载到/var/cache/apt/archives/1234567891011

安装到指定的文件夹dpkg -i --instdir=/dest/dir/path some.deb1强行安装文件夹下所有的deb文件:

dpkg -i --force-architecture *.deb 一切都自动解决!12

如果安装出错,使用修复 sudo apt install -f 小心使用

https://www.cnblogs.com/TreeSky/p/11439265.html

centos

https://blog.csdn.net/xtggbmdk/article/details/81030360yum install ?  --downloadonly --downloaddir=/opt/bags/?

yum install gcc  --downloadonly --downloaddir=/opt/djh/      //下载到opt目录下面

先安装:yum install yum-plugin-downloadonly123强行安装文件夹下所有的rpm文件:

rpm -ivhU *  --nodeps --force 一切都自动解决!12

没有办法的话,对多个包的依赖关系安装先后顺序不清楚,全部强制安装,rpm -ivh --force --nodeps *.rpm

还有一个参数是  --replacefiles12

2.所有的系统服务在哪里找

ll /usr/lib/systemd/下面的文件夹里面找

查看软件的版本

centos

yum list | grep xxx

ubuntu

https://www.jianshu.com/p/87cccdab2d1f ----参参考

一、查询仓库中软件的所有版本

#apt-cache mad

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值