[bdc08c1] | 1 | <sect2><title>Contents of sh-utils-&sh-utils-contversion;</title>
|
---|
[6370fa6] | 2 |
|
---|
[bdc08c1] | 3 | <sect3><title>Program Files</title>
|
---|
| 4 | <para>basename, chroot, date, dirname,
|
---|
[6370fa6] | 5 | echo, env, expr, factor, false, groups, hostid, hostname, id, logname,
|
---|
| 6 | nice, nohup, pathchk, pinky, printenv, printf, pwd, seq, sleep, stty,
|
---|
[bdc08c1] | 7 | su, tee, test, true, tty, uname, uptime, users, who, whoami and
|
---|
| 8 | yes</para></sect3>
|
---|
[6370fa6] | 9 |
|
---|
[bdc08c1] | 10 | <sect3><title>Descriptions</title>
|
---|
[6370fa6] | 11 |
|
---|
[bdc08c1] | 12 | <sect4><title>basename</title>
|
---|
| 13 | <para>basename strips directory and suffixes from filenames.</para></sect4>
|
---|
[6370fa6] | 14 |
|
---|
[bdc08c1] | 15 | <sect4><title>chroot</title>
|
---|
[b822811] | 16 | <para>chroot runs a command or interactive shell with special
|
---|
[bdc08c1] | 17 | root directory.</para></sect4>
|
---|
[6370fa6] | 18 |
|
---|
[bdc08c1] | 19 | <sect4><title>date</title>
|
---|
[b822811] | 20 | <para>date displays the current time in a specified format, or sets
|
---|
[bdc08c1] | 21 | the system date.</para></sect4>
|
---|
[6370fa6] | 22 |
|
---|
[bdc08c1] | 23 | <sect4><title>dirname</title>
|
---|
| 24 | <para>dirname strips non-directory suffixes from file name.</para></sect4>
|
---|
[6370fa6] | 25 |
|
---|
[bdc08c1] | 26 | <sect4><title>echo</title>
|
---|
| 27 | <para>echo displays a line of text.</para></sect4>
|
---|
[6370fa6] | 28 |
|
---|
[bdc08c1] | 29 | <sect4><title>env</title>
|
---|
| 30 | <para>env runs a program in a modified environment.</para></sect4>
|
---|
[6370fa6] | 31 |
|
---|
[bdc08c1] | 32 | <sect4><title>expr</title>
|
---|
| 33 | <para>expr evaluates expressions.</para></sect4>
|
---|
[6370fa6] | 34 |
|
---|
[bdc08c1] | 35 | <sect4><title>factor</title>
|
---|
[53ad30a] | 36 | <para>factor prints the prime factors of all specified
|
---|
[bdc08c1] | 37 | integer numbers.</para></sect4>
|
---|
[6370fa6] | 38 |
|
---|
[bdc08c1] | 39 | <sect4><title>false</title>
|
---|
| 40 | <para>false always exits with a status code indicating failure.</para></sect4>
|
---|
[6370fa6] | 41 |
|
---|
[bdc08c1] | 42 | <sect4><title>groups</title>
|
---|
| 43 | <para>groups prints the groups a user is in.</para></sect4>
|
---|
[6370fa6] | 44 |
|
---|
[bdc08c1] | 45 | <sect4><title>hostid</title>
|
---|
[b822811] | 46 | <para>hostid prints the numeric identifier (in hexadecimal) for the current
|
---|
[bdc08c1] | 47 | host.</para></sect4>
|
---|
[6370fa6] | 48 |
|
---|
[bdc08c1] | 49 | <sect4><title>hostname</title>
|
---|
| 50 | <para>hostname sets or prints the name of the current host system</para></sect4>
|
---|
[6370fa6] | 51 |
|
---|
[bdc08c1] | 52 | <sect4><title>id</title>
|
---|
[b822811] | 53 | <para>id prints the real and effective UIDs and GIDs of a user or the current
|
---|
[bdc08c1] | 54 | user.</para></sect4>
|
---|
[6370fa6] | 55 |
|
---|
[bdc08c1] | 56 | <sect4><title>logname</title>
|
---|
| 57 | <para>logname prints the current user's login name.</para></sect4>
|
---|
[6370fa6] | 58 |
|
---|
[bdc08c1] | 59 | <sect4><title>nice</title>
|
---|
| 60 | <para>nice runs a program with modified scheduling priority.</para></sect4>
|
---|
[6370fa6] | 61 |
|
---|
[bdc08c1] | 62 | <sect4><title>nohup</title>
|
---|
[53ad30a] | 63 | <para>nohup runs a command immune to hangups, with output to a
|
---|
[bdc08c1] | 64 | non-tty</para></sect4>
|
---|
[6370fa6] | 65 |
|
---|
[bdc08c1] | 66 | <sect4><title>pathchk</title>
|
---|
| 67 | <para>pathchk checks whether file names are valid or portable.</para></sect4>
|
---|
[6370fa6] | 68 |
|
---|
[bdc08c1] | 69 | <sect4><title>pinky</title>
|
---|
[b822811] | 70 | <para>pinky is a lightweight finger utility which retrieves information about
|
---|
[bdc08c1] | 71 | a certain user</para></sect4>
|
---|
[6370fa6] | 72 |
|
---|
[bdc08c1] | 73 | <sect4><title>printenv</title>
|
---|
| 74 | <para>printenv prints all or part of the environment.</para></sect4>
|
---|
[6370fa6] | 75 |
|
---|
[bdc08c1] | 76 | <sect4><title>printf</title>
|
---|
[53ad30a] | 77 | <para>printf formats and prints data (the same as the printf C
|
---|
[bdc08c1] | 78 | function).</para></sect4>
|
---|
[6370fa6] | 79 |
|
---|
[bdc08c1] | 80 | <sect4><title>pwd</title>
|
---|
| 81 | <para>pwd prints the name of the current/working directory</para></sect4>
|
---|
[6370fa6] | 82 |
|
---|
[bdc08c1] | 83 | <sect4><title>seq</title>
|
---|
[53ad30a] | 84 | <para>seq prints numbers in a certain range with a certain
|
---|
[bdc08c1] | 85 | increment.</para></sect4>
|
---|
[6370fa6] | 86 |
|
---|
[bdc08c1] | 87 | <sect4><title>sleep</title>
|
---|
| 88 | <para>sleep delays for a specified amount of time.</para></sect4>
|
---|
[6370fa6] | 89 |
|
---|
[bdc08c1] | 90 | <sect4><title>stty</title>
|
---|
| 91 | <para>stty changes and prints terminal line settings.</para></sect4>
|
---|
[6370fa6] | 92 |
|
---|
[bdc08c1] | 93 | <sect4><title>su</title>
|
---|
| 94 | <para>su runs a shell with substitute user and group IDs</para></sect4>
|
---|
[6370fa6] | 95 |
|
---|
[bdc08c1] | 96 | <sect4><title>tee</title>
|
---|
[7d45ab12] | 97 | <para>tee reads from standard input and writes to standard output and
|
---|
[bdc08c1] | 98 | files.</para></sect4>
|
---|
[6370fa6] | 99 |
|
---|
[bdc08c1] | 100 | <sect4><title>test</title>
|
---|
| 101 | <para>test checks file types and compares values.</para></sect4>
|
---|
[6370fa6] | 102 |
|
---|
[bdc08c1] | 103 | <sect4><title>true</title>
|
---|
| 104 | <para>True always exits with a status code indicating success.</para></sect4>
|
---|
[6370fa6] | 105 |
|
---|
[bdc08c1] | 106 | <sect4><title>tty</title>
|
---|
[b822811] | 107 | <para>tty prints the file name of the terminal connected to standard
|
---|
[bdc08c1] | 108 | input.</para></sect4>
|
---|
[6370fa6] | 109 |
|
---|
[bdc08c1] | 110 | <sect4><title>uname</title>
|
---|
| 111 | <para>uname prints system information.</para></sect4>
|
---|
[6370fa6] | 112 |
|
---|
[bdc08c1] | 113 | <sect4><title>uptime</title>
|
---|
| 114 | <para>uptime tells how long the system has been running.</para></sect4>
|
---|
[6370fa6] | 115 |
|
---|
[bdc08c1] | 116 | <sect4><title>users</title>
|
---|
[b822811] | 117 | <para>users prints the user names of users currently logged in to the
|
---|
[bdc08c1] | 118 | current host.</para></sect4>
|
---|
| 119 |
|
---|
| 120 | <sect4><title>who</title>
|
---|
| 121 | <para>who shows who is logged on.</para></sect4>
|
---|
[6370fa6] | 122 |
|
---|
[bdc08c1] | 123 | <sect4><title>whoami</title>
|
---|
| 124 | <para>whoami prints the user's effective userid.</para></sect4>
|
---|
[6370fa6] | 125 |
|
---|
[bdc08c1] | 126 | <sect4><title>yes</title>
|
---|
| 127 | <para>yes outputs a string repeatedly until killed.</para></sect4>
|
---|
[6370fa6] | 128 |
|
---|
[bdc08c1] | 129 | </sect3>
|
---|
[6370fa6] | 130 |
|
---|
| 131 | </sect2>
|
---|
| 132 |
|
---|