aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-04-17 16:16:10 +0000
committerErik Andersen <andersen@codepoet.org>2000-04-17 16:16:10 +0000
commite5b6c7dd9cb32852a7f5b19a9855cf3c32543396 (patch)
treeafe963cde5e3882b8785c963d7d1ec07d458a85a /docs
parent4fd10fc73be4ce707c7d55f608d47894a2d1b12c (diff)
downloadbusybox-w32-e5b6c7dd9cb32852a7f5b19a9855cf3c32543396.tar.gz
busybox-w32-e5b6c7dd9cb32852a7f5b19a9855cf3c32543396.tar.bz2
busybox-w32-e5b6c7dd9cb32852a7f5b19a9855cf3c32543396.zip
More updates to the docs, and fixes to sync things with the docs.
-Erik
Diffstat (limited to 'docs')
-rw-r--r--docs/busybox.pod133
1 files changed, 115 insertions, 18 deletions
diff --git a/docs/busybox.pod b/docs/busybox.pod
index e1d2f4804..9926cffd2 100644
--- a/docs/busybox.pod
+++ b/docs/busybox.pod
@@ -1290,6 +1290,10 @@ Example:
1290 1290
1291=item sh 1291=item sh
1292 1292
1293Usage: sh
1294
1295lash -- the BusyBox LAme SHell (command interpreter)
1296
1293FIXME 1297FIXME
1294 1298
1295------------------------------- 1299-------------------------------
@@ -1528,12 +1532,10 @@ Example:
1528 1532
1529=item tr 1533=item tr
1530 1534
1531Usage: 1535Usage: tr [-csu] string1 string2
1532 1536 tr [-cu] -d string1
1533 tr [-csu] string1 string2 1537 tr [-cu] -s string1
1534 tr [-cu] -d string1 1538 tr [-cu] -ds string1 string2
1535 tr [-cu] -s string1
1536 tr [-cu] -ds string1 string2
1537 1539
1538Translate, squeeze, and/or delete characters from standard 1540Translate, squeeze, and/or delete characters from standard
1539input, writing to standard output. 1541input, writing to standard output.
@@ -1559,67 +1561,162 @@ Example:
1559 1561
1560=item tty 1562=item tty
1561 1563
1562FIXME 1564Usage: tty
1565
1566Print the file name of the terminal connected to standard input.
1567
1568Options:
1569
1570 -s print nothing, only return an exit status
1571
1572Example:
1573
1574 $ tty
1575 /dev/tty2
1563 1576
1564------------------------------- 1577-------------------------------
1565 1578
1566=item umount 1579=item umount
1567 1580
1568FIXME 1581Usage: umount [flags] filesystem|directory
1582
1583Flags:
1584
1585 -a: Unmount all file systems
1586 -r: Try to remount devices as read-only if mount is busy
1587 -f: Do not free loop device (if a loop device has been used)
1588
1589Example:
1590
1591 $ umount /dev/hdc1
1569 1592
1570------------------------------- 1593-------------------------------
1571 1594
1572=item uname 1595=item uname
1573 1596
1574FIXME 1597Usage: uname [OPTION]...
1598
1599Print certain system information. With no OPTION, same as -s.
1600
1601Options:
1602
1603 -a print all information
1604 -m the machine (hardware) type
1605 -n print the machine's network node hostname
1606 -r print the operating system release
1607 -s print the operating system name
1608 -p print the host processor type
1609 -v print the operating system version
1610
1611Example:
1612
1613 $ uname -a
1614 Linux debian 2.2.15pre13 #5 Tue Mar 14 16:03:50 MST 2000 i686 unknown
1575 1615
1576------------------------------- 1616-------------------------------
1577 1617
1578=item uniq 1618=item uniq
1579 1619
1580FIXME 1620Usage: uniq [OPTION]... [INPUT [OUTPUT]]
1621
1622Discard all but one of successive identical lines from INPUT
1623(or standard input), writing to OUTPUT (or standard output).
1624
1625Example:
1626
1627 $ echo -e "a\na\nb\nc\nc\na" | sort | uniq
1628 a
1629 b
1630 c
1581 1631
1582------------------------------- 1632-------------------------------
1583 1633
1584=item update 1634=item update
1585 1635
1586FIXME 1636Usage: update [options]
1637
1638Periodically flushes filesystem buffers.
1639
1640Options:
1641
1642 -S force use of sync(2) instead of flushing
1643 -s SECS call sync this often (default 30)
1644 -f SECS flush some buffers this often (default 5)
1587 1645
1588------------------------------- 1646-------------------------------
1589 1647
1590=item uptime 1648=item uptime
1591 1649
1592FIXME 1650Usage: uptime
1651
1652Tells how long the system has been running since boot.
1653
1654Example:
1655
1656 $ uptime
1657 1:55pm up 2:30, load average: 0.09, 0.04, 0.00
1593 1658
1594------------------------------- 1659-------------------------------
1595 1660
1596=item usleep 1661=item usleep
1597 1662
1598FIXME 1663Usage: usleep N
1664
1665Pauses for N microseconds.
1666
1667Example:
1668
1669 $ usleep 1000000
1670 [pauses for 1 second]
1599 1671
1600------------------------------- 1672-------------------------------
1601 1673
1602=item wc 1674=item wc
1603 1675
1604FIXME 1676Usage: wc [OPTION]... [FILE]...
1677
1678Print line, word, and byte counts for each FILE, and a total line if
1679more than one FILE is specified. With no FILE, read standard input.
1680
1681Options:
1682
1683 -c print the byte counts
1684 -l print the newline counts
1685 -L print the length of the longest line
1686 -w print the word counts
1687
1688Example:
1689
1690 $ wc /etc/passwd
1691 31 46 1365 /etc/passwd
1605 1692
1606------------------------------- 1693-------------------------------
1607 1694
1608=item whoami 1695=item whoami
1609 1696
1610FIXME 1697Usage: whoami
1698
1699Prints the user name associated with the current effective user id.
1700
1701Example:
1702
1703 $ whoami
1704 andersen
1611 1705
1612------------------------------- 1706-------------------------------
1613 1707
1614=item yes 1708=item yes
1615 1709
1616FIXME 1710Usage: yes [OPTION]... [STRING]...
1711
1712Repeatedly outputs a line with all specified STRING(s), or `y'.
1617 1713
1618------------------------------- 1714-------------------------------
1619 1715
1620=item zcat 1716=item zcat
1621 1717
1622FIXME 1718This is essentially an alias for invoking "gunzip -c", where
1719it decompresses the file inquestion and send the output to stdout.
1623 1720
1624------------------------------- 1721-------------------------------
1625 1722
@@ -1684,4 +1781,4 @@ Enrique Zanardi <ezanardi@ull.es>
1684 1781
1685=cut 1782=cut
1686 1783
1687# $Id: busybox.pod,v 1.12 2000/04/17 05:13:59 beppu Exp $ 1784# $Id: busybox.pod,v 1.13 2000/04/17 16:16:10 erik Exp $