source: appendixa/shellutils-desc.xml@ 159c2d2

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.0 6.1 6.1.1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk v4_0 v4_1 v5_0 v5_1 v5_1_1 xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 159c2d2 was 159c2d2, checked in by Gerard Beekmans <gerard@…>, 22 years ago

applied Alex's so-it's-ids.patch

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1941 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 4.1 KB
RevLine 
[e69a59f]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]5echo, env, expr, factor, false, groups, hostid, hostname, id, logname,
6nice, nohup, pathchk, pinky, printenv, printf, pwd, seq, sleep, stty,
[bdc08c1]7su, tee, test, true, tty, uname, uptime, users, who, whoami and
8yes</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]17root 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]21the 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]37integer 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]47host.</para></sect4>
[6370fa6]48
[bdc08c1]49<sect4><title>hostname</title>
[159c2d2]50<para>hostname prints or sets the name of the current host system.</para></sect4>
[6370fa6]51
[bdc08c1]52<sect4><title>id</title>
[159c2d2]53<para>id prints the effective user and group IDs of the current
54user or a given 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
[335838c]64non-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
[335838c]71a 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]78function).</para></sect4>
[6370fa6]79
[bdc08c1]80<sect4><title>pwd</title>
[335838c]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]85increment.</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>
[159c2d2]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]98files.</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>
[cf24ff1]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]108input.</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]118current 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>
[159c2d2]124<para>whoami prints the user name associated with the current
125effective user ID.</para></sect4>
[6370fa6]126
[bdc08c1]127<sect4><title>yes</title>
[159c2d2]128<para>yes outputs 'y' or a given string repeatedly,
129until killed.</para></sect4>
[6370fa6]130
[bdc08c1]131</sect3>
[6370fa6]132
133</sect2>
134
Note: See TracBrowser for help on using the repository browser.