World Library  
Flag as Inappropriate
Email this Article

Toybox

Article Id: WHEBN0018136046
Reproduction Date:

Title: Toybox  
Author: World Heritage Encyclopedia
Language: English
Subject: GNU General Public License
Collection:
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Toybox

Toybox
Original author(s) Robert Landley
Developer(s) Robert Landley and others
Stable release 0.6.0 / July 19, 2015 (2015-07-19)
Written in C
Operating system Unix-like
Type Independent SUSp XCU implementation
License BSD License
Website /toybox.net.landleywww

Toybox is an implementation of some Linux command line utilities. These include ls, cp, mv, and about 150 others. The Toybox project was started in 2006,[1] and became a BSD-licensed BusyBox alternative.[2][3] Toybox is included with Android 6.0 "Marshmallow" and all later Android versions, and is also available for installation on certain other operating systems.

Differences between BusyBox and Toybox

Toybox is licensed using a BSD license, where BusyBox uses the GNU General Public License. Toybox's major design goals are simplicity, smallness, speed and standard compliance.[4] Therefore, Toybox is POSIX-2008 and LSB 4.1 compatible,[1] and doesn't focus on having every option found in GNU counterparts.

History

In early 2006 Toybox was started by Rob Landley[1][3] after he ended his BusyBox maintainership due to a dispute with Bruce Perens.[5] In 2008 the project went dormant.[2] On 11 January 2012, Tim Bird, a Sony employee suggested to create an alternative to BusyBox which would not be under the GNU General Public License and suggested it be based on the dormant Toybox.[6] Rob Landley followed the suggestion and took up the Toybox development again.

Controversy

In January 2012 the proposal of creating a BSD license alternative to the GPL licensed BusyBox project drew harsh criticism from Matthew Garrett for taking away the only relevant tool for copyright enforcement of the Software Freedom Conservancy group.[7] The starter of BusyBox based lawsuits, Rob Landley, responded this was intentional as he came to the conclusion that the lawsuits resulted not in the hoped for positive outcomes and he wants to stop them "in whatever way I see fit".[8][9]

Project progress

The official Toybox documentation lists an overview of the available, partially available and the missing commands. According to the roadmap to version 1.0,[10] approx. 50% of the projects implementation goals are achieved.[11][12] The available commands include (expand to view):
  • cal — prints a calendar of the given month or year
  • cat — Copy file content to stdout
  • chgrp — Change group
  • chmod — Change file modes
  • chown — Change owner
  • chroot — Changes the apparent root directory
  • cksum
  • clear
  • cmp — Compare two files
  • comm — Select or reject lines common to two files
  • count — Count the number of elements of an array
  • cp — Copy
  • cpio — Copy files to and from archives
  • cut — Cut out selected fields of each line of a file
  • date — Display system date/time
  • df — Report free disk space
  • dirname — Return the directory portion of a pathname
  • dmesg — Display message or driver message
  • echo
  • eject
  • env
  • expand — Convert tabs to spaces
  • factor
  • fallocate
  • false — Return false value
  • fgrep — Search a file with a fixed pattern
  • find — Command-line utility that searches through one or more directory trees
  • egrep
  • grep — Search for PATTERN in each FILE or standard input
  • groups — Display a group
  • gzip — File compression
  • head — Copy the first part of files
  • help — Command help lists all commands
  • hostname — Show or set the system's host name
  • id — Prints the user or group identifier
  • install
  • ifconfig — System administration utility for network interface configuration.
  • ln — Create a link named LINK_NAME or DIRECTORY to the specified TARGET.
  • kill — Send signals to running processes in order to request the termination of the process
  • killall — kill processes by name
  • link (Unix) — call link function
  • login
  • logname — Return the user's login name
  • losetup
  • lspci — Prints detailed information about all PCI buses and devices
  • md5sum — Generate or check MD5 message digests
  • ls — List of files or folders
  • mkdir — Create a folder
  • mkfifo — Make FIFO special files
  • mknod — Make special files
  • mount — Mount a file system
  • mountpoint
  • mv — move file
  • nbd-client
  • nc — Arbitrary TCP and UDP connections and listens
  • netcat
  • nice — Invoke a utility with an altered nice value
  • nl — line numbering filter
  • nohup — Invoke a utility immune to hangups
  • od — dump files in various formats
  • oneit
  • partprobe
  • passwd — Change user password
  • paste — Merge corresponding or subsequent lines of files
  • patch — Apply changes to files
  • pidof — Find the process ID of a running program
  • pmap — Report memory map of a process
  • pwd — Print working directory name
  • pwdx — Report current working directory of a process
  • readahead
  • readlink
  • realpath
  • renice — set nice values of running processes
  • rev — reverse lines of a file or files
  • rfkill
  • rm — Remove directory entries
  • rmdir — Remove directories
  • seq — Generate a sequence of numbers
  • setsid — Run a program in a new session
  • sha1sum — Compute and check SHA1 message digest
  • sleep — Suspend execution for an interval
  • sort — Sort, merge, or sequence check text files
  • split — Split files into pieces
  • stat — Display file or file system status
  • strings — Print the strings of printable characters in files.
  • su — Change user ID
  • swapon
  • swapoff
  • switch root
  • sync — Flush file system buffers
  • tac — Concatenate and print files in reverse
  • tail — Copy the last part of a file
  • taskset — Retrieve or set a process's CPU affinity
  • tee — Duplicate standard input
  • time — time a simple command
  • timeout — Run a command with a time limit
  • touch — change file access and modification times
  • true — Return true value
  • truncate — shrink or extend the size of a file to the specified size
  • tty — Return user's terminal name
  • umount
  • uname
  • uniq — report or filter out repeated lines in a file
  • unix2dosUNIX to DOS text file format converter
  • unlink
  • unshare
  • usleep — sleep some number of microseconds
  • uuencoding — Encode a binary file
  • uudecode — Decode a binary file
  • vconfig
  • w — Show who is logged on and what they are doing.
  • wc — Word, line, and byte or character count
  • which — Shows the full path of (shell) commands
  • who — Display who is on the system
  • whoami — Print effective userid
  • xargs — Construct argument lists and invoke utility
  • yes — to print a string repetitively

See also

References

  1. ^ a b c
  2. ^ a b
  3. ^ a b
  4. ^
  5. ^
  6. ^
  7. ^
  8. ^
  9. ^
  10. ^ todo.txt
  11. ^ Toybox Help
  12. ^

External links

  • Official website
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.