shellutils-desc.xml 4.0 KB

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