Linux-lsxxx

博客围绕Linux下的lsoptdepends展开,先查看其帮助信息,接着通过sudo pacman -Qo查询其来源,得知由pyalpm拥有,又进一步查询pyalpm和依赖它的namcap的相关信息,包括描述、依赖情况、安装原因等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Linux-lsxxx

lslist directory contents列出文件及目录
lsattrList file attributes on a Linux second extended file system在Linux第二个扩展文件系统上列出文件属性
lsblkList block devices列出块设备, 还有blkid可用
lscpuDisplay information about the CPU architecture显示有关CPU架构的信息
lshwList hardware列出硬件
lsinitcpioExamine an initramfs检查initramfs
lsipcShow information on IPC facilities currently employed in the system显示系统中当前使用的IPC设施的信息
lslocksList local system locks列出本地系统锁
lsloginsDisplay information about known users in the system显示有关系统中已知用户的信息
lsmemList the ranges of available memory with their online status列出可用内存的在线状态范围
lsmodShow the status of modules in the Linux Kernel显示Linux内核中模块的状态
lsnsList namespaces列出命名空间
lsofList open files列出打开的文件
lspciList all PCI devices列出所有PCI设备
lsusbList USB devices列出USB设备
lsusb.pyExecutable, 15kB更详细的列出USB设备
lsoptdependsExecutable, 2.5kB依赖项?


lsoptdepends是什么?
先看看帮助: $ lsoptdepends -h

lsoptdepends 最后一列是(wc -l)统计的行数932
-uonly list uninstalled optdepends仅列出已卸载的optdepends504
--orphanlist installed optdepends that are not hard deps of any package列出已安装的optdepends,它们不是任何软件包的硬件代码88
-qonly print package names只打印包名399


查询来源
sudo pacman -Qo lsoptdepends
/usr/bin/lsoptdepends is owned by pyalpm 0.8.5-2

sudo pacman -Qi pyalpm
Description     : Libalpm bindings for Python 3
Required By     : namcap
Install Reason  : Installed as a dependency for another package

sudo pacman -Qi namcap
Description     : A Pacman package analyzer
Required By     : None
Install Date    : Thu 28 Mar 2019 06:23:36 PM CST
Install Reason  : Explicitly installed

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值