home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V6 / usr / doc / hel / hel2 < prev    next >
Encoding:
Text File  |  1975-06-26  |  8.7 KB  |  396 lines

  1. .h0 "\na.\n+b User Access Control"
  2. .sh LOGIN
  3. Sign on as a new user.
  4. .op
  5. Verify password and establish user's 
  6. individual and group (project) identity.
  7. .op
  8. Adapt to characteristics of terminal.
  9. .op
  10. Establish working directory.
  11. .op
  12. Announce presence of mail (from MAIL).
  13. .op
  14. Publish message of the day.
  15. .op
  16. Start command interpreter or other initial program.
  17. .sh PASSWD
  18. Change a password.
  19. .op
  20. User can change his own password.
  21. .op
  22. Passwords are kept encrypted for better security.
  23. .sh NEWGRP
  24. Change working group (project).
  25. Protects against changes to unauthorized projects.
  26. .h0 "\na.\n+b File Manipulation"
  27. .sh CAT
  28. Concatenate one or more files onto standard output.
  29. Particularly used for unadorned printing, for
  30. inserting data into a pipeline,
  31. and for buffering output that comes in dribs and drabs.
  32. .op
  33. Usable as filter.
  34. .sh CP
  35. Copy one file to another.
  36. Works on any file without distinction as to contents.
  37. .sh PR
  38. Print files with title, date, and page number on every page.
  39. .op
  40. Multicolumn output.
  41. .op
  42. Parallel column merge of several files.
  43. .op
  44. Usable as a filter.
  45. .sh OPR
  46. Off line print.
  47. Spools arbitrary files to the line printer.
  48. .op
  49. Usable as a filter.
  50. .sh SPLIT
  51. Split a large file into more manageable pieces.
  52. Is occasionally necessary for editing (ED).
  53. ..
  54. .sh ED
  55. Interactive context editor.
  56. Can work on single lines, blocks of lines, or all pattern-selected
  57. lines in a given range.
  58. .op
  59. Finds lines by number or pattern.
  60. .op
  61. Random access to lines.
  62. .op
  63. Add, delete, change, copy or move lines.
  64. .op
  65. Permute or split contents of a line.
  66. .op
  67. Replace one or all instances of a pattern within a line.
  68. .op
  69. Combine or split files.
  70. .op
  71. Escape to Shell (U\s8NIX\s10 command language) during editing.
  72. .ne3
  73. .op
  74. Patterns may include:
  75. .in +2
  76. specified characters,
  77. .br
  78. don't care characters,
  79. .br
  80. choices among characters,
  81. .br
  82. repetitions of above,
  83. .br
  84. beginning of line,
  85. .br
  86. end of line.
  87. .in -2
  88. .op
  89. All operations may be done globally on
  90. every pattern-selected line in a given range.
  91. .sh Manual
  92. Introductory manual for ED.
  93. .sh DD
  94. Physical file format translator,
  95. for exchanging data with foreign
  96. systems, especially OS/360.
  97. .sh STTY
  98. Sets up options for optimal control of a terminal.
  99. In so far as they are deducible from the input, these
  100. options are set automatically by LOGIN.
  101. .op
  102. Half vs. full duplex.
  103. .op
  104. Carriage return+line feed vs. newline.
  105. .op
  106. Interpretation of tabs.
  107. .op
  108. Parity.
  109. .op
  110. Mapping of upper case to lower.
  111. .op
  112. Raw vs. edited input.
  113. .op
  114. Delays for tabs, newlines and carriage returns.
  115. .h0 "\na.\n+b Manipulation of Directories and File Names"
  116. .sh RM
  117. Remove a file.
  118. Only the name goes away if any other names are linked to the file.
  119. .sh LN
  120. \*(lqLink\*(rq another name (alias) to an existing file.
  121. .sh MV
  122. Move a file.
  123. .op
  124. Used for renaming files or directories.
  125. .sh CHMOD
  126. Change permissions on one or more files.
  127. Executable by files' owner.
  128. .sh CHOWN
  129. Change owner of one or more files.
  130. .sh CHGRP
  131. Change group (project) to which a file belongs.
  132. .sh MKDIR
  133. Make a new directory.
  134. .sh RMDIR
  135. Remove a directory.
  136. .sh CHDIR
  137. Change working directory.
  138. .sh FIND
  139. Prowl the directory
  140. hierarchy finding
  141. every file that meets
  142. specified criteria.
  143. .op
  144. These criteria are understood:
  145. .in +2
  146. .nf
  147. spelling of name matches a given pattern,
  148. creation date in given range,
  149. date of last use in given range,
  150. permissions,
  151. owner,
  152. characteristics of device files,
  153. boolean combinations of above.
  154. .in -2
  155. .fi
  156. .op
  157. Any directory may be considered to be the root.
  158. .op
  159. Specified commands may be performed on every file found.
  160. .sh DSW
  161. Interactively step through a directory,
  162. deleting or keeping files.
  163. .h0 "\na.\n+b Running of Programs"
  164. .sh SH
  165. The Shell, or command language interpreter.
  166. Provides \*(lqbackground\*(rq and macro capability when
  167. run with a file of commands as input.
  168. .br
  169. .op
  170. Any executable object file is automatically a command.
  171. .op
  172. Redirect standard input or standard output.
  173. .op
  174. Operators to compose compound commands:
  175. .in+2
  176. `;' for sequential execution,
  177. .br
  178. `|' for functional composition with output of one
  179. command taken directly as input to another running simultaneously,
  180. .br
  181. `&' for asynchronous operation,
  182. .br
  183. parentheses for grouping.
  184. .in -2
  185. .op
  186. Substitutable arguments.
  187. .op
  188. Construction of argument lists from all file names
  189. satisfying specified patterns.
  190. .op
  191. Collects command usage statistics.
  192. .sh IF
  193. A conditional statement for Shell programs.
  194. .op
  195. String comparison.
  196. .op
  197. Querying file accessibility.
  198. .sh GOTO
  199. A \*(lqgo-to\*(rq statement for Shell programs.
  200. .sh WAIT
  201. Wait for termination of asynchronously running processes.
  202. .sh EXIT
  203. Terminate a Shell program.
  204. Useful with IF.
  205. .sh ECHO
  206. Print remainder of command line.
  207. Useful for diagnostic or prompting data in Shell programs,
  208. or for inserting data into a pipeline.
  209. .sh SLEEP
  210. Suspend execution for a specified time.
  211. .sh NOHUP
  212. Run a command immune to hanging up the terminal.
  213. .sh NICE
  214. Run a command in low (or high) priority.
  215. .sh KILL
  216. Terminate named processes.
  217. .sh CRON
  218. A table of actions to be taken at specified times.
  219. .op
  220. Actions are arbitrary Shell (SH) scripts.
  221. .op
  222. Times are
  223. conjunctions of month, day of month, day of week, hour
  224. and minute.
  225. Ranges are specifiable for each.
  226. .sh TEE
  227. Pass data between processes and divert a copy into a file.
  228. Used as a filter.
  229. .h0 "\na.\n+b Status Inquiries"
  230. .sh LS
  231. List the names of one, several, or all files in one or more directories.
  232. .op
  233. Alphabetic or temporal sorting, up or down.
  234. .op
  235. Optional information:
  236. size,
  237. owner,
  238. group,
  239. date last modified,
  240. date last accessed,
  241. permissions,
  242. i-node number.
  243. .sh FILE
  244. Tries to determine 
  245. what kind of information is in a file by consulting
  246. the file system index and by reading the file itself.
  247. .sh DATE
  248. System date routine.
  249. Has considerable knowledge
  250. of calendric and horological peculiarities.
  251. .op
  252. Print present date, day of week, local time.
  253. .op
  254. May set U\s8NIX\s10's idea of date and time.
  255. .sh DF
  256. Report amount of free space on file system devices.
  257. .sh DU
  258. Print a summary of total space occupied by all files in a hierarchy.
  259. .sh WHO
  260. Tell who's on the system.
  261. .op
  262. List of presently logged in users,
  263. ports and times on.
  264. .op
  265. Optional history of all logins and logouts.
  266. .sh PS
  267. Report on all active processes attached to a terminal.
  268. .op
  269. Gives all commands being executed.
  270. .op
  271. Can also report on other terminals.
  272. .op
  273. Extended status information available:
  274. .in+2
  275. .nf
  276. state and scheduling info,
  277. priority,
  278. attached terminal,
  279. what it's waiting for,
  280. size.
  281. .fi
  282. .in -2
  283. .fi
  284. .sh TTY
  285. Find name of your terminal.
  286. .sh PWD
  287. Print name of your working directory.
  288. .sh PFE
  289. Print type of last floating exception.
  290. .h0 "\na.\n+b Backup and Maintenance"
  291. .sh MOUNT
  292. Attach a device containing
  293. a file system to
  294. the tree of directories.
  295. Protects against nonsense arrangements.
  296. .sh UMOUNT
  297. Remove the file system contained on a device
  298. from the tree of directories.
  299. Protects against removing a busy device.
  300. .sh MKFS
  301. Make a new file system on a device.
  302. .sh MKNOD
  303. Make an i-node (file system entry) for a special file.
  304. Special files are
  305. physical devices,
  306. virtual devices, physical memory, etc.
  307. .sh TP
  308. Manage file archives on magnetic tape or DEC tape.
  309. .op
  310. Collect files into an archive.
  311. .op
  312. Update DECtape archive by date.
  313. .op
  314. Replace or delete DECtape files.
  315. .op
  316. Table of contents.
  317. .op
  318. Retrieve from archive.
  319. .sh DUMP
  320. Dump the file system
  321. stored on a specified device, selectively by date, or indiscriminately.
  322. .sh RESTOR
  323. Restore a dumped file system,
  324. or selectively retrieve parts thereof.
  325. .sh SU
  326. Temporarily become the super user with all the rights and privileges
  327. thereof.
  328. Requires a password.
  329. .sh DCHECK
  330. .sh ICHECK
  331. .sh NCHECK
  332. .sp -2
  333. Check consistency of file system.
  334. .op
  335. Gross statistics:
  336. .in +2
  337. .nf
  338. number of files,
  339. number of directories,
  340. number of special files,
  341. spaced used,
  342. space free.
  343. .in -2
  344. .fi
  345. .op
  346. Report of duplicate use of space.
  347. .op
  348. Retrieval of lost space.
  349. .op
  350. Report of inaccessible files.
  351. .op
  352. Check consistency of directories.
  353. .op
  354. List names of all files.
  355. .sh CLRI
  356. Peremptorily expunge a file and its space from a file system.
  357. Used in putting damaged file systems together again.
  358. .sh SYNC
  359. Force all outstanding I/O on the system to completion.
  360. Used to shut down gracefully.
  361. .h0 "\na.\n+b Accounting"
  362. .in0
  363. .sp
  364. These routines use floating point.
  365. The timing information on which the reports are based can be
  366. manually cleared or shut off completely.
  367. .sh AC
  368. Publish cumulative connect time report.
  369. .op
  370. Connect time by user or by day.
  371. .op
  372. For all users or for selected users.
  373. .sh SA
  374. Publish Shell accounting
  375. report.
  376. Gives usage information on each command executed.
  377. .op
  378. Number of times used.
  379. .op
  380. Total system time, user time and elapsed time.
  381. .op
  382. Optional averages and percentages.
  383. .op
  384. Sorting on various fields.
  385. .h0 "\na.\n+b Inter-user Communication"
  386. .sh MAIL
  387. Mail a message to one or more users.
  388. Also used to read and dispose of incoming mail.
  389. The presence of mail is announced by LOGIN.
  390. .sh WRITE
  391. Establish direct terminal communication with another user.
  392. .sh WALL
  393. Write to all users.
  394. .sh MESG
  395. Inhibit receipt of messages from WRITE and WALL.
  396.