Util-linux

util-linux
当前版本2.40.4[1]在维基数据编辑(2025年1月13日)
源代码库 編輯維基數據鏈接
编程语言C
操作系统Linux
许可协议GNU通用公共许可证BSD许可证
网站www.kernel.org/pub/linux/utils/util-linux/

util-linux是一个Linux操作系统的标准软件包。当原本的软件包开发停滞时,一群人创建了作为其复刻util-linux-ng(“ng”意为“下一代”)[2],它已在2011年1月更名回util-linux,目前是这个软件包的正式版本[3]

内容

它包括以下工具:

  • addpart
  • agetty
  • arch(因存在uname和coreutils的arch而弃用)[4]
  • blkid
  • blockdev
  • cal
  • cfdisk英语cfdisk
  • chfn
  • chkdupexe
  • chrt
  • chsh英语chsh
  • clock
  • col(遗留)[5]
  • colcrt
  • colrm
  • column
  • ctrlaltdel
  • cytune
  • delpart
  • dmesg英语dmesg
  • elvtune(从Linux 2.6.9被废弃)[4]
  • fallocate
  • fdformat英语fdformat
  • fdisk英语fdisk
  • findfs
  • findmnt
  • flock
  • fsck
  • fsck.cramfs
  • fsck.minix
  • fsfreeze
  • fstrim
  • getopt
  • hexdump
  • hwclock(查询和设置硬件时钟(RTC))
  • ionice英语ionice
  • ipcmk
  • ipcrm英语ipcrm
  • ipcs英语ipcs
  • isosize
  • kill英语kill (Unix)
  • ldattach
  • line(遗留)[5]
  • logger
  • login
  • look
  • losetup
  • lsblk
  • lscpu [6]
  • mcookie
  • mesg英语mesg
  • mkfs英语mkfs
  • mkfs.bfs英语Boot File System
  • mkfs.cramfs
  • mkfs.minix
  • mkswap
  • more
  • mount
  • mountpoint
  • namei
  • newgrp
  • nologin
  • partx
  • pg英语pg (Unix)(遗留)[5]
  • pivot_root
  • prlimit[7]
  • raw
  • readprofile
  • rename
  • renice英语nice (Unix)
  • reset
  • rev
  • rtcwake
  • script英语script (Unix)
  • scriptreplay
  • setarch(包括架构符号连接,如i386、linux32、linux64、x86_64等等)
  • setsid
  • setterm
  • sfdisk英语sfdisk
  • su
  • swaplabel
  • swapoff
  • swapon
  • switch_root
  • tailf
  • taskset
  • tunelp(弃用)[8]
  • ul
  • umount
  • unshare
  • uuidd
  • uuidgen
  • vigr
  • vipw英语vipw
  • whereis
  • wipefs
  • write英语write (Unix)

以前包括、但截至2012年 (2012-Missing required parameter 1=month!)已移除的工具:

  • ddate英语ddate(在被完全前就已从默认构建中删除)[9]
  • fastboot[10]
  • fasthalt[10]
  • halt[10]
  • initctl[10]
  • ramsize(先前是链接到rdev的符号链接)[11]
  • rdev[11]
  • reboot[10]
  • rootflags(先前是链接到rdev的符号链接)[11]
  • shutdown[10]
  • simpleinit[10]
  • vidmode(先前是链接到rdev的符号链接)[11]

参见

参考

  1. ^ [ANNOUNCE] util-linux v2.40.4. 2025年1月13日 [2025年1月14日]. 
  2. ^ Karel Zak. [ANNOUNCE] util-linux-ng fork. 2006-12-18 [2014-04-12]. (原始内容存档于2014-04-13). 
  3. ^ Karel Zak. [ANNOUNCE] util-linux without -ng. 2010-12-01 [2014-04-12]. (原始内容存档于2012-03-20). 
  4. ^ 4.0 4.1 Documentation/deprecated.txt. util-linux. 2013-03-14 [2014-04-12]. 
  5. ^ 5.0 5.1 5.2 Documentation/deprecated.txt. util-linux. 2014-04-07 [2014-04-12]. 
  6. ^ lscpu. [2015-02-18]. (原始内容存档于2014-07-05). 
  7. ^ Karel Zak. prlimit(1). 2012-01-25 [2014-08-09]. (原始内容存档于2017-07-02). 
  8. ^ Sami Kerola. tunelp: deprecation: remove command from default build. util-linux. 2012-12-16 [2014-04-12]. 
  9. ^ Karel Zak. build-sys: add --enable-ddate. util-linux. 2011-08-18 [2014-04-12]. (原始内容存档于2014-02-12). 
  10. ^ 10.0 10.1 10.2 10.3 10.4 10.5 10.6 Karel Zak. simpleinit: remove this deprecated set of utils. util-linux. 2011-06-08 [2014-04-12]. 
  11. ^ 11.0 11.1 11.2 11.3 Karel Zak. rdev: remove this deprecated command. util-linux. 2010-05-13 [2014-04-12]. 

外部链接