Util-linux

util-linux
当前版本
  • 2.40.1 (2024年5月6日;穩定版本)[1]
編輯維基數據鏈接
源代码库
  • github.com/util-linux/util-linux
編輯維基數據鏈接
编程语言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
  • chfn
  • chkdupexe
  • chrt
  • chsh
  • clock
  • col(遗留)[5]
  • colcrt
  • colrm
  • column
  • ctrlaltdel
  • cytune
  • delpart
  • dmesg
  • elvtune(从Linux 2.6.9被废弃)[4]
  • fallocate
  • fdformat
  • fdisk
  • findfs
  • findmnt
  • flock
  • fsck
  • fsck.cramfs
  • fsck.minix
  • fsfreeze
  • fstab
  • fstrim
  • getopt
  • hexdump
  • hwclock(查询和设置硬件时钟(RTC))
  • ionice
  • ipcmk
  • ipcrm
  • ipcs
  • isosize
  • kill
  • ldattach
  • line(遗留)[5]
  • logger
  • login
  • look
  • losetup
  • lsblk
  • lscpu [6]
  • mcookie
  • mesg
  • mkfs
  • mkfs.bfs
  • mkfs.cramfs
  • mkfs.minix
  • mkswap
  • more
  • mount
  • mountpoint
  • namei
  • newgrp
  • nologin
  • partx
  • pg(遗留)[5]
  • pivot_root
  • prlimit[7]
  • raw
  • readprofile
  • rename
  • renice
  • reset
  • rev
  • rtcwake
  • script
  • scriptreplay
  • setarch(包括架构符号连接,如i386、linux32、linux64、x86_64等等)
  • setsid
  • setterm
  • sfdisk
  • su
  • swaplabel
  • swapoff
  • swapon
  • switch_root
  • tailf
  • taskset
  • tunelp(弃用)[8]
  • ul
  • umount
  • unshare
  • uuidd
  • uuidgen
  • vigr
  • vipw
  • whereis
  • wipefs
  • write

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

  • 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 stable v2.40.1"]; 作者姓名字符串: Karel Zak; 出版日期: 2024年5月6日; 检索日期: 2024年5月6日.
  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]. 

外部链接

文件系統
程序
  • at
  • bg
  • chroot
  • cron
  • fg
  • kill
  • killall英语killall
  • nice
  • pgrep
  • pkill英语pkill
  • ps
  • pstree英语pstree
  • time
  • top
用户环境
  • clear
  • env
  • exit
  • history英语history (Unix)
  • id
  • logname
  • mesg英语mesg
  • passwd
  • su
  • sudo
  • uptime
  • talk英语talk (software)
  • tput英语tput
  • uname
  • w
  • wall英语wall (Unix)
  • who
  • whoami
  • write英语write (Unix)
文本编辑
  • awk
  • banner英语banner (Unix)
  • basename
  • comm英语comm
  • csplit英语csplit
  • cut
  • diff
  • dirname
  • ed
  • ex
  • fmt英语fmt
  • fold英语fold (Unix)
  • head英语head (Unix)
  • iconv
  • join英语join (Unix)
  • less
  • more
  • nl英语nl (Unix)
  • paste英语paste (Unix)
  • sed
  • sort英语sort (Unix)
  • spell英语spell (Unix)
  • strings英语strings (Unix)
  • tail
  • tr
  • uniq英语uniq
  • vi
  • wc
  • xargs
壳层内建
网络英语Network utility
查找
文档
  • apropos英语apropos (Unix)
  • help英语help (command)
  • man
软件开发
杂项
  • bc
  • cal
  • dc
  • expr
  • lp英语lp (Unix)
  • lpr
  • sleep
  • true和false
  • yes