shellutils-desc.xml 4.0 KB

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