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