Software:util-linux

From HandWiki
Short description: Standard package of Linux with a collection of utilities

util-linux
Stable release
2.39 / May 17, 2023; 13 months ago (2023-05-17)
Written inC
Operating systemLinux
Available in31 languages, 7 full translations[1]
TypeUtility software
LicensePortions variously under GNU General Public License (v2+ or v2 only), GNU Lesser General Public License (v2+) and BSD License.[2]
Websitewww.kernel.org/pub/linux/utils/util-linux/
git.kernel.org/cgit/utils/util-linux/util-linux.git

util-linux is a standard package distributed by the Linux Kernel Organization for use as part of the Linux operating system. A fork, util-linux-ng (with ng meaning "next generation"), was created when development stalled,[3] but (As of January 2011) has been renamed back to util-linux, and is the official version of the package.[4]

Contents

Included

It includes the following utilities:

  • addpart
  • agetty
  • blkdiscard[5]
  • blkid
  • blkzone
  • blockdev
  • cal
  • cfdisk
  • chcpu
  • chfn
  • chmem
  • choom
  • chrt
  • chsh
  • col (legacy)[6]
  • colcrt
  • colrm
  • column
  • ctrlaltdel
  • delpart
  • dmesg
  • eject
  • fallocate
  • fdformat
  • fdisk
  • fincore
  • findfs
  • findmnt
  • flock
  • fsck
  • fsck.cramfs
  • fsck.minix
  • fsfreeze
  • fstrim
  • getopt
  • hardlink
  • hexdump
  • hwclock (query and set the hardware clock (RTC))
  • ionice
  • ipcmk
  • ipcrm
  • ipcs
  • irqtop[7]
  • isosize
  • kill
  • last
  • ldattach
  • line (legacy)[6]
  • logger
  • login
  • look
  • losetup
  • lsblk
  • lscpu[8]
  • lsfd (modern replacement for lsof)
  • lsipc
  • lsirq[9]
  • lslocks
  • lslogins
  • lsmem
  • lsns
  • mcookie
  • mesg
  • mkfs (legacy)[6]
  • mkfs.bfs
  • mkfs.cramfs
  • mkfs.minix
  • mkswap
  • more
  • mount
  • mountpoint
  • namei
  • newgrp
  • nologin
  • nsenter
  • partx
  • pg (legacy)[6]
  • pivot_root
  • prlimit[10]
  • raw
  • readprofile
  • rename
  • renice
  • reset (legacy)[6]
  • resizepart
  • rev
  • rfkill
  • rtcwake
  • runuser
  • script
  • scriptlive
  • scriptreplay
  • setarch (including architecture symlinks such as i386, linux32, linux64, x86_64, etc.)
  • setpriv
  • setsid
  • setterm
  • sfdisk
  • su
  • sulogin
  • swaplabel
  • swapoff
  • swapon
  • switch_root
  • taskset
  • tunelp (deprecated)[11]
  • ul
  • umount
  • unshare
  • utmpdump
  • uuidd
  • uuidgen
  • uuidparse
  • vipw (including symlink to vigr)
  • wall
  • wdctl
  • whereis
  • wipefs
  • write
  • zramctl

Removed

Utilities formerly included, but removed (As of July 2015):


See also

References

  1. "Translation Project util-linux textual domain". 2022. https://translationproject.org/domain/util-linux.html. 
  2. "README.licensing". util-linux source tree. https://git.kernel.org/cgit/utils/util-linux/util-linux.git/tree/README.licensing. 
  3. Karel Zak (2006-12-18). "[ANNOUNCE util-linux-ng fork"]. https://lkml.org/lkml/2006/12/18/19. 
  4. Karel Zak (2010-12-01). "[ANNOUNCE util-linux without -ng"]. https://lkml.org/lkml/2010/12/1/464. 
  5. "blkdiscard(8) - Linux manual page". July 2014. http://man7.org/linux/man-pages/man8/blkdiscard.8.html. 
  6. 6.0 6.1 6.2 6.3 6.4 "Documentation/deprecated.txt". util-linux. 2014-04-07. https://git.kernel.org/cgit/utils/util-linux/util-linux.git/tree/Documentation/deprecated.txt. 
  7. "Release v2.36 notes". https://lwn.net/Articles/826866/. 
  8. "lscpu manual". https://man.linuxreviews.org/man1/lscpu.1.html. 
  9. "Release v2.36 notes". https://lwn.net/Articles/826866/. 
  10. Karel Zak (2012-01-25). "prlimit(1)". https://karelzak.blogspot.com/2012/01/prlimit1.html. 
  11. Sami Kerola (2012-12-16). "tunelp: deprecation: remove command from default build". util-linux. https://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=1342ffcbeb0dbad6ec12026f1dad27a26d27248f. 
  12. Karel Zak (2013-03-14). "arch: remove the command, deprecated since 2.13, use coreutils version". util-linux. https://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=27abd8094845b4b2002a8ed5c3dd212999902c8f. 
  13. Karel Zak (2013-03-14). "chkdupexe: remove, deprecated for years". util-linux. https://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=58a3cee647c30ee23c887a1763ab9e4504a1ec88. 
  14. Karel Zak. "clock: Dropped entirely. Use hwclock". util-linux. https://git.kernel.org/cgit/utils/util-linux/util-linux.git/tree/NEWS?id=f2f731deb883299880ac16a1dccb3a3865c9f7cd#n1296. 
  15. Sami Kerola (2014-05-11). "cytune: remove from util-linux". util-linux. https://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=198556b76caadc90286db2f489fbfafffc4bb3cb. 
  16. Karel Zak (2011-08-18). "build-sys: add --enable-ddate". util-linux. https://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=4a8962f3a7cb970b28add7d770528edebbe03635. 
  17. Sami Kerola (2012-10-08). "ddate: remove from util-linux". util-linux. https://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=4cf02b65109029a38f708148dea8d2bdf2fa19de. 
  18. Sami Kerola (2013-08-17). "build-sys: complete elvtune removal". util-linux. https://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=a272c5747c08495187d4f1b7fb1c9874af597b32. 
  19. 19.0 19.1 19.2 19.3 19.4 19.5 19.6 Karel Zak (2011-06-08). "simpleinit: remove this deprecated set of utils". util-linux. https://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=0ff9e65ea30ee7e3548d11992a180d95d0a02fe9. 
  20. 20.0 20.1 20.2 20.3 Karel Zak (2010-05-13). "rdev: remove this deprecated command". util-linux. https://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=a3e40c14651fccf18e7954f081e601389baefe3f. 
  21. Sami Kerola (2017-04-02). "tailf: remove deprecated utility". util-linux. https://www.spinics.net/lists/util-linux-ng/msg13779.html. 

External links