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