util-linux
{{short description|Package of Linux utilities from the Linux Kernel Organization}}
{{lowercase title}}
{{Infobox software
| name = util-linux
| discontinued = no
| latest release version = {{wikidata|property|preferred|references|edit|P348|P548=Q2804309}} | latest release date = {{Start date and age|{{wikidata|qualifier|preferred|single|P348|P548=Q2804309|P577}}|df=yes}}
| programming_language = C
| operating system = Linux
| language = 31 languages, 7 full translations{{cite web
| title = Translation Project util-linux textual domain
| url = https://translationproject.org/domain/util-linux.html
| date = 2022
| access-date = 2022-06-04}}
| genre = Utility software
| license = Portions variously under GNU General Public License (v2+ or v2 only), GNU Lesser General Public License (v2+) and BSD License.{{cite web
| url = https://git.kernel.org/cgit/utils/util-linux/util-linux.git/tree/README.licensing
| title = README.licensing
| work = util-linux source tree
| access-date = 20 February 2016}}
| website = {{URL|https://www.kernel.org/pub/linux/utils/util-linux/}}
{{URL|https://git.kernel.org/cgit/utils/util-linux/util-linux.git}}
}}
{{mono|util-linux}} is a package of utilities distributed by the Linux Kernel Organization for use in a Linux operating system. A fork, {{mono|util-linux-ng}} (with {{mono|ng}} meaning "next generation"), was created when development stalled,{{cite web
| title = [ANNOUNCE] util-linux-ng fork
| url = https://lkml.org/lkml/2006/12/18/19
| date = 2006-12-18
| author = Karel Zak
| access-date = 2014-04-12}} but {{as of|2011|01|lc=on}} has been renamed back to {{mono|util-linux}}, and is the official version of the package.{{cite web
| title = [ANNOUNCE] util-linux without -ng
| url = https://lkml.org/lkml/2010/12/1/464
| date = 2010-12-01
| author = Karel Zak
| access-date = 2014-04-12}}
Content
The package includes the following utilities:
{{div col|colwidth=15em}}
{{not a typo|
- addpart
- agetty
- blkdiscard{{cite web
| url = http://man7.org/linux/man-pages/man8/blkdiscard.8.html
| title = blkdiscard(8) - Linux manual page
| date = July 2014
| access-date = 2020-01-13}}
- blkid
- blkzone
- blockdev
- cal
- cfdisk
- chcpu
- chfn
- chmem
- choom
- chrt
- chsh
- col (legacy){{cite web
| url = https://git.kernel.org/cgit/utils/util-linux/util-linux.git/tree/Documentation/deprecated.txt
| title = Documentation/deprecated.txt
| date = 2014-04-07
| work = util-linux
| access-date = 2015-07-01}}
- 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{{efn|cquery and set the hardware clock (RTC)}}
- ionice
- ipcmk
- ipcrm
- ipcs
- irqtop{{cite web
| url = https://lwn.net/Articles/826866/
| title = Release v2.36 notes}}
- isosize
- kill
- last
- ldattach
- line (legacy)
- logger
- login
- look
- losetup
- lsblk
- lscpu{{cite web
| url = https://man.linuxreviews.org/man1/lscpu.1.html
| title = lscpu manual
}}
- lsfd{{efn|modern replacement for lsof}}
- lsipc
- lsirq{{cite web
| url = https://lwn.net/Articles/826866/
| title = Release v2.36 notes}}
- lslocks
- lslogins
- lsmem
- lsns
- mcookie
- mesg
- mkfs (legacy)
- mkfs.bfs
- mkfs.cramfs
- mkfs.minix
- mkswap
- more
- mount
- mountpoint
- namei
- newgrp
- nologin
- nsenter
- partx
- pg (legacy)
- pivot_root
- prlimit{{cite web
| url = https://karelzak.blogspot.com/2012/01/prlimit1.html
| title = prlimit(1)
| author = Karel Zak
| date = 2012-01-25
| access-date = 2020-01-13}}
- raw
- readprofile
- rename
- renice
- reset (legacy)
- resizepart
- rev
- rfkill
- rtcwake
- runuser
- script
- scriptlive
- scriptreplay
- setarch{{efn|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){{cite web
| url = https://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=1342ffcbeb0dbad6ec12026f1dad27a26d27248f
| title = tunelp: deprecation: remove command from default build
| author = Sami Kerola
| date = 2012-12-16
| work = util-linux
| access-date = 2014-04-12}}
- ul
- umount
- unshare
- utmpdump
- uuidd
- uuidgen
- uuidparse
- vipw{{efn|including symlink to vigr}}
- wall
- wdctl
- whereis
- wipefs
- write
- zramctl
{{div col end}}
}}
Removed content
Utilities formerly included, but removed {{as of|2015|07|01|lc=on}}:
{{div col|colwidth=25em}}
- arch{{cite web
| url = https://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=27abd8094845b4b2002a8ed5c3dd212999902c8f
| title = arch: remove the command, deprecated since 2.13, use coreutils version
| author = Karel Zak
| date = 2013-03-14
| work = util-linux
| access-date = 2015-07-01}}
- chkdupexe{{cite web
| url = https://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=58a3cee647c30ee23c887a1763ab9e4504a1ec88
| title = chkdupexe: remove, deprecated for years
| author = Karel Zak
| date = 2013-03-14
| work = util-linux
| access-date = 2015-07-01}}
- clock{{cite web
| url = https://git.kernel.org/cgit/utils/util-linux/util-linux.git/tree/NEWS?id=f2f731deb883299880ac16a1dccb3a3865c9f7cd#n1296
| title = clock: Dropped entirely. Use hwclock
| author = Karel Zak
| work = util-linux
| access-date = 2015-07-01}}
- cytune{{cite web
| url = https://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=198556b76caadc90286db2f489fbfafffc4bb3cb
| title = cytune: remove from util-linux
| author = Sami Kerola
| date = 2014-05-11
| work = util-linux
| access-date = 2015-07-01}}
- ddate{{efn|removed from default build{{cite web
| url = https://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=4a8962f3a7cb970b28add7d770528edebbe03635
| title = build-sys: add --enable-ddate
| author = Karel Zak
| date = 2011-08-18
| work = util-linux
| access-date = 2014-04-12}} before being removed{{cite web
| url = https://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=4cf02b65109029a38f708148dea8d2bdf2fa19de
| title = ddate: remove from util-linux
| author = Sami Kerola
| date = 2012-10-08
| work = util-linux
| access-date = 2015-07-01}} altogether}}
- elvtune{{cite web
| url = https://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=a272c5747c08495187d4f1b7fb1c9874af597b32
| title = build-sys: complete elvtune removal
| author = Sami Kerola
| date = 2013-08-17
| work = util-linux
| access-date = 2015-07-01}}
- fastboot{{cite web
| url = https://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=0ff9e65ea30ee7e3548d11992a180d95d0a02fe9
| title = simpleinit: remove this deprecated set of utils
| author = Karel Zak
| date = 2011-06-08
| work = util-linux
| access-date = 2014-04-12}}
- fasthalt
- halt
- initctl
- ramsize{{efn|name=to-rdev|formerly a symlink to rdev}}
- rdev{{cite web
| url = https://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=a3e40c14651fccf18e7954f081e601389baefe3f
| title = rdev: remove this deprecated command
| author = Karel Zak
| date = 2010-05-13
| work = util-linux
| access-date = 2014-04-12}}
- reboot
- rootflags{{efn|name=to-rdev}}
- shutdown
- simpleinit
- tailf{{cite web
| url = https://www.spinics.net/lists/util-linux-ng/msg13779.html
| title = tailf: remove deprecated utility
| author = Sami Kerola
| date = 2017-04-02
| work = util-linux}}
- vidmode{{efn|name=to-rdev}}
{{div col end}}
See also
- {{Annotated link|BusyBox}}
- {{Annotated link|CUPS}}
- {{Annotated link|GNU Core Utilities}}
- {{Annotated link|Toybox}}
- {{Annotated link|uname}}
Notes
{{notelist}}
References
{{Reflist|30em}}
External links
- [https://git.kernel.org/cgit/utils/util-linux/util-linux.git/ The util-linux code repository.]
- [https://www.kernel.org/pub/linux/utils/util-linux/ pub/linux/utils/util-linux] on Kernel.org
- [http://vger.kernel.org/vger-lists.html#util-linux util-linux development discussion and bug reporting mailing list]
- [https://karelzak.blogspot.com/ Karel Zak's blog], the blog of the current maintainer
{{Unix commands}}