Misplaced Pages

util-linux

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
(Redirected from Swapon) Standard package of Linux with a collection of utilities
util-linux
Stable release2.40.2 Edit this on Wikidata / 4 July 2024; 5 months ago (4 July 2024)
Repository
Written inC
Operating systemLinux
Available in31 languages, 7 full translations
TypeUtility software
LicensePortions variously under GNU General Public License (v2+ or v2 only), GNU Lesser General Public License (v2+) and BSD License.
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, but as of January 2011 has been renamed back to util-linux, and is the official version of the package.

Contents

Included

It includes the following utilities:

  • addpart
  • agetty
  • blkdiscard
  • blkid
  • blkzone
  • blockdev
  • cal
  • cfdisk
  • chcpu
  • chfn
  • chmem
  • choom
  • chrt
  • chsh
  • col (legacy)
  • 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
  • isosize
  • kill
  • last
  • ldattach
  • line (legacy)
  • logger
  • login
  • look
  • losetup
  • lsblk
  • lscpu
  • lsfd (modern replacement for lsof)
  • lsipc
  • lsirq
  • 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
  • raw
  • readprofile
  • rename
  • renice
  • reset (legacy)
  • 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)
  • 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 1 July 2015:

  • arch
  • chkdupexe
  • clock
  • cytune
  • ddate (removed from default build before being removed altogether)
  • elvtune
  • fastboot
  • fasthalt
  • halt
  • initctl
  • ramsize (formerly a symlink to rdev)
  • rdev
  • reboot
  • rootflags (formerly a symlink to rdev)
  • shutdown
  • simpleinit
  • tailf
  • vidmode (formerly a symlink to rdev)

See also

References

  1. "[ANNOUNCE] util-linux v2.40.2". 4 July 2024. Retrieved 4 July 2024.
  2. "Translation Project util-linux textual domain". 2022. Retrieved 2022-06-04.
  3. "README.licensing". util-linux source tree. Retrieved 20 February 2016.
  4. Karel Zak (2006-12-18). "[ANNOUNCE] util-linux-ng fork". Retrieved 2014-04-12.
  5. Karel Zak (2010-12-01). "[ANNOUNCE] util-linux without -ng". Retrieved 2014-04-12.
  6. "blkdiscard(8) - Linux manual page". July 2014. Retrieved 2020-01-13.
  7. ^ "Documentation/deprecated.txt". util-linux. 2014-04-07. Retrieved 2015-07-01.
  8. "Release v2.36 notes".
  9. "lscpu manual".
  10. "Release v2.36 notes".
  11. Karel Zak (2012-01-25). "prlimit(1)". Retrieved 2020-01-13.
  12. Sami Kerola (2012-12-16). "tunelp: deprecation: remove command from default build". util-linux. Retrieved 2014-04-12.
  13. Karel Zak (2013-03-14). "arch: remove the command, deprecated since 2.13, use coreutils version". util-linux. Retrieved 2015-07-01.
  14. Karel Zak (2013-03-14). "chkdupexe: remove, deprecated for years". util-linux. Retrieved 2015-07-01.
  15. Karel Zak. "clock: Dropped entirely. Use hwclock". util-linux. Retrieved 2015-07-01.
  16. Sami Kerola (2014-05-11). "cytune: remove from util-linux". util-linux. Retrieved 2015-07-01.
  17. Karel Zak (2011-08-18). "build-sys: add --enable-ddate". util-linux. Retrieved 2014-04-12.
  18. Sami Kerola (2012-10-08). "ddate: remove from util-linux". util-linux. Retrieved 2015-07-01.
  19. Sami Kerola (2013-08-17). "build-sys: complete elvtune removal". util-linux. Retrieved 2015-07-01.
  20. ^ Karel Zak (2011-06-08). "simpleinit: remove this deprecated set of utils". util-linux. Retrieved 2014-04-12.
  21. ^ Karel Zak (2010-05-13). "rdev: remove this deprecated command". util-linux. Retrieved 2014-04-12.
  22. Sami Kerola (2017-04-02). "tailf: remove deprecated utility". util-linux.

External links

Unix command-line interface programs and shell builtins
File system
Processes
User environment
Text processing
Shell builtins
Searching
Documentation
Software development
Miscellaneous
Categories: