⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hel1

📁 unix v7是最后一个广泛发布的研究型UNIX版本
💻
📖 第 1 页 / 共 2 页
字号:
.SHB.  Hardware.PPThe7th edition.UC UNIXoperating systemruns ona DEC PDP-11/45 or 11/70*.FS*PDP is a Trademark of Digital Equipment Corporation..FEwith at least the following equipment:.IP128K to 2M words of managed memory; parity not used..IPdisk: RP03, RP04, RP06, RK05 (more than 1 RK05) or equivalent..IPconsole typewriter..IPclock: KW11-L or KW11-P..LPThe following equipment is strongly recommended:.IPcommunications controller such as DL11 or DH11..IPfull duplex 96-character ASCII terminals..IP9-track tape or extra disk for system backup..LPThe system is normally distributed on 9-track tape.The minimum memory and disk space specified is enough to runand maintain.UC UNIX .More will be needed to keep all source on line, or to handlea large number of users,big data bases, diversified complements of devices, or largeprograms.The resident codeoccupies 12-20K words dependingon configuration;system data occupies 10-28K words..PPThere is no commitment to provide 7th edition.UC UNIXon PDP-11/34, 11/40 and 11/60 hardware..SHC.  Software.PPMost of the programs available as.UC UNIXcommands are listed.Source code and printed manuals are distributed for all of the listed softwareexcept games.Almost all of the code is written in C.Commands are self-contained and do not require extra setupinformation,unless specifically noted as ``interactive.''Interactive programs can be made to run from a prepared scriptsimply by redirecting input.Most programs intended for interactive use(e.g., the editor) allow for an escape tocommand level (the Shell).Most file processing commandscan also go from standard input to standard output(``filters'').The piping facility of the Shell may be usedto connect such filters directly to the input or outputof other programs..NHBasic Software.PPThisincludes the time-sharing operatingsystem with utilities, a machine language assembler and a compiler for the programming language C\(emenoughsoftware towrite and run new applicationsand to maintain or modify.UC UNIXitself..NH 2Operating System.sh UNIXThe basic resident codeon which everything else depends.Supports the system calls, and maintains the file system.A general description of.UC UNIXdesignphilosophy and system facilities appeared inthe Communications of the ACM, July, 1974.A more extensive survey is in the Bell System Technical Journalfor July-August 1978.Capabilities include:.opReentrant code for user processes..opSeparate instruction and data spaces..op``Group'' access permissions for cooperative projects,with overlapping memberships..opAlarm-clock timeouts..opTimer-interrupt sampling and interprocess monitoringfor debugging and measurement..OPMultiplexed I/O for machine-to-machine communication..sh DEVICESAll I/O is logically synchronous.I/O devices are simply files in the file system.Normally, invisible buffering makes all physicalrecord structure and device characteristics transparent and exploits thehardware's ability to do overlapped I/O.Unbuffered physical recordI/O is available for unusual applications.Drivers for these devices areavailable; others can be easily written:.opAsynchronous interfaces: DH11, DL11.Support for most common ASCII terminals..opSynchronous interface: DP11..opAutomatic calling unit interface: DN11..opLine printer: LP11..opMagnetic tape: TU10 and TU16..opDECtape: TC11..opFixed head disk: RS11, RS03 and RS04..opPack type disk: RP03, RP04, RP06;minimum-latency seek scheduling..opCartridge-type disk: RK05, one or more physical devices perlogical device..opNull device..opPhysical memory of PDP-11, or mapped memory in resident system..opPhototypesetter: Graphic Systems System/1 through DR11C..sh BOOTProcedures to get.UC UNIXstarted..sh MKCONFTailor device-dependent system code to hardware configuration.As distributed,.UC UNIXcan be brought up directly on any acceptable CPUwith any acceptable disk, any sufficient amount of core,and either clock.Other changes, such as optimalassignment of directories to devices, inclusion of floatingpoint simulator, or installation of device names in file system,can then be made at leisure..NH 2User Access Control.LP.sh LOGINSign on as a new user..opVerify password and establish user's individual and group (project) identity..opAdapt to characteristics of terminal..opEstablish working directory..opAnnounce presence of mail (from MAIL)..opPublish message of the day..opExecute user-specified profile..opStart command interpreter or other initial program..sh PASSWDChange a password..opUser can change his own password..opPasswords are kept encrypted for security..sh NEWGRPChange working group (project).Protects against unauthorized changes to projects..NH 2Terminal Handling.LP.sh TABSSet tab stops appropriately for specified terminal type..sh STTYSet up options for optimal control of a terminal.In so far as they are deducible from the input, theseoptions are set automatically by LOGIN..opHalf vs. full duplex..opCarriage return+line feed vs. newline..opInterpretation of tabs..opParity..opMapping of upper case to lower..opRaw vs. edited input..opDelays for tabs, newlines and carriage returns..NH 2File Manipulation.LP.sh CATConcatenate one or more files onto standard output.Particularly used for unadorned printing, forinserting data into a pipeline,and for buffering output that comes in dribs and drabs.Works on any file regardless of contents..sh CPCopy one file to another,or a set of files to a directory.Works on any file regardless of contents..sh PRPrint files with title, date, and page number on every page..opMulticolumn output..opParallel column merge of several files..sh LPROff-line print.Spools arbitrary files to the line printer..sh CMPCompare two files and report if different..sh TAILPrint last.I nlines of input.opMay print last.I ncharacters, or from.I nlines or characters to end..sh SPLITSplit a large file into more manageable pieces.Occasionally necessary for editing (ED)..sh DDPhysical file format translator,for exchanging data with foreignsystems, especially IBM 370's..sh SUMSum the words of a file..NH 2Manipulation of Directories and File Names.LP.sh RMRemove a file.Only the name goes away if any other names are linked to the file..OPStep through a directory deleting files interactively..OPDelete entire directory hierarchies..sh LN``Link'' another name (alias) to an existing file..sh MVMove a file or files.Used for renaming files..sh CHMODChange permissions on one or more files.Executable by files' owner..sh CHOWNChange owner of one or more files..sh CHGRPChange group (project) to which a file belongs..sh MKDIRMake a new directory..sh RMDIRRemove a directory..sh CDChange working directory..sh FINDProwl the directoryhierarchy findingevery file that meetsspecified criteria..opCriteria include:.in +2.nfname matches a given pattern,creation date in given range,date of last use in given range,given permissions,given owner,given special file characteristics,boolean combinations of above..in -2.fi.opAny directory may be considered to be the root..opPerform specified command on each file found..NH 2Running of Programs.LP.sh SHThe Shell, or command language interpreter..opSupply arguments to and run any executable program..opRedirect standard input, standard output, and standard error files..opPipes:simultaneous execution with output of one process connectedto the input of another..OPCompose compound commands using:.in+2if ... then ... else,.brcase switches,.brwhile loops,.brfor loops over lists,.brbreak, continue and exit,.brparentheses for grouping..in -2.opInitiate background processes..opPerform Shell programs, i.e., command scripts withsubstitutable arguments..opConstruct argument lists from all file namessatisfying specified patterns..OPTake special action on traps and interrupts..OPUser-settable search path for finding commands..OPExecutes user-settable profile upon login..OPOptionally announces presence of mail as it arrives..opProvides variables and parameters with default setting..sh TESTTests for use in Shell conditionals..opString comparison..opFile nature and accessibility..opBoolean combinations of the above..sh EXPRString computations for calculating command arguments..OPInteger arithmetic.OPPattern matching.sh WAITWait for termination of asynchronously running processes..sh READRead a line from terminal,for interactive Shell procedure..sh ECHOPrint remainder of command line.Useful for diagnostics or prompts in Shell programs,or for inserting data into a pipeline..sh SLEEPSuspend execution for a specified time..sh NOHUPRun a command immune to hanging up the terminal..sh NICERun a command in low (or high) priority..sh KILLTerminate named processes..sh CRONSchedule regular actions at specified times..opActions are arbitrary programs..opTimes areconjunctions of month, day of month, day of week, hour

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -