commands Overview commands The following lists the commands included with COHERENT. The command name is given on the left and a description on the right. ac Summarize login accounting information accton Enable/disable process accounting ar The librarian/archiver as Mark Williams assembler at Execute commands at given time awk Report generation, pattern scanning, and processing language bad Maintain bad block list badscan Examine a device for bad blocks banner Print large sized letters basename Strip file name bc Interactive calculator with arbitrary precision break Exit from shell construct build Install COHERENT onto a hard disk c Print multi-column output cal Print a calendar calendar Electronic reminder service case Execute commands conditionally according to pattern cat Concatenate/print files cc Compiler controller cd Change directory chase Highly amusing video game check Check file system chgrp Change the group owner of files chmod Change the modes of a file chown Change ownership of a file clri Clear i-node cmp Compare bytes of two files col Remove reverse and half line motions comm Print common lines compress Compress a file continue Terminate current iteration of shell construct conv Numeric base converter cp Copy a file cpp C preprocessor cpdir Copy directory hierarchy cpio Archive utility crypt Encrypt/decrypt text date Print/set the date and time db Assembler-level symbolic debugger dc Desk calculator dd File conversion deroff Remove text formatting control information df Measure free space on disk diff Summarize differences between two files diff3 Summarize differences among three files dos Transfer files to/from an MS-DOS file system drvld Load loadable drivers into memory du Summarize disk usage dump File system dump dumpdate Print dump dates dumpdir Print the directory of a dump COHERENT Lexicon Page 1
commands Overview commands echo Repeat/expand an argument ed Interactive line editor egrep Extended pattern search elvis UNIX-style screen editor epson Print a file on an Epson printer ex UNIX-style editor exec Execute command directly eval Evaluate arguments exit Exit from a noninteractive shell expr Compute a command line expression factor Factor a number false Unconditional failure file Name a file's type find Search for files satisfying a pattern fixstack Alter size of a program's stack fdformat Format a floppy disk fnkey Set a function key for Execute commands for tokens in list fortune Print random selected, hopefully humorous, text from Generate list of numbers fsck Check and repair file systems interactively grep Pattern search head Print the beginning of a file help Print concise description of command hp Prepare files for HP LaserJet-compatible printer hpd Hewlett-Packard LaserJet printer spooler daemon hpr Send to Hewlett-Packard LaserJet printer spooler hpskip Abort/restart current listing on Hewlett-Packard LaserJet icheck i-node consistency check if Conditional command execution install Install a COHERENT update /etc/installCreate a package to install on a COHERENT system join Join two data bases kermit Remote system communication and file transfer kill Signal a process lc Categorize files in a directory ld Link relocatable object files lex Lexical analyzer generator ln Create a link to a file login Log in or change user name look Find matching lines in a sorted file lpr Send to line printer spooler lpskip Terminate/restart current line printer listing ls List directory's contents m4 Macro processor mail Computer mail make Program building discipline man Print online manual sections me MicroEMACS screen editor mesg Permit/deny messages from other users mkdir Create a directory mkfs Make a new file system mknod Make a special file or named pipe mount Mount a file system msg Send a brief message to other users COHERENT Lexicon Page 2
commands Overview commands msgs Read messages intended for all COHERENT users mv Rename files or directories ncheck Print file names corresponding to i-numbers newgrp Change to a new group newusr Add new user to COHERENT system nm Print a program's symbol table nroff Text processor od Print an octal dump of a file passwd Set/change login password pax Portable archive interchange phone Print numbers and addresses from phone directory pr Paginate and print files prep Produce a word list ps Print process status pwd Print the name of the current directory quot Summarize file-system usage ranlib Create index for library read Assign values to shell variables reboot Reboot the COHERENT system restor Restore file system rev Reverse text in lines of files rm Remove files rmdir Remove directories sa Process accounting scat Print text files one screenful at a time sed Stream editor set Set shell option flags and positional parameters sh Command language interpreter shift Shift positional parameters shutdown Shut down the COHERENT system size Print size of an object file sleep Stop executing for a specified time sort Sort lines of text spell Find spelling errors split Split a large file into smaller files strip Strip tables from executable file stty Set/print terminal modes su Substitute user id, become superuser sum Print checksum of a file sync Flush system buffers tail Print the end of a file tar Tape archive manager tee Branch pipe output test Evaluate conditional expression time Time the execution of a command times Obtain process execution times touch Update modification time of a file tr Translate characters trap Execute command on receipt of signal troff Proportional-spaced typesetting true Unconditional success tsort Topological sort tty Print the user's terminal name ttystat Get terminal status typo Detect possible typographical and spelling errors COHERENT Lexicon Page 3
commands Overview commands umount Set file creation mask uncompressUncompress a file uniq Remove/count repeated lines in a sorted file units Convert measurements unmkfs Create a prototype file system until Execute commands repeatedly ustar Tape archive utility uucico Connect to a remote system uucp Copy a file to or from a remote system uudecode Decode a transmitted UUCP file uuencode Encode a transmitted UUCP file uuinstall Install UUCP uuname Print names of recognized systems uutouch Force polling of a remote site uuwatch Monitor operation of UUCP uuxqt Execute file as requested by remote system vi UNIX-style screen editor view UNIX-style text viewer wait Await completion of background process wall Send a message to all logged in users wc Count words, lines, and characters in files while Execute commands repeatedly who Print who is logged in write Conduct interactive conversation with another user yacc Parser generator yes Print infinitely many responses zcat Concatenate a compressed file For more information on any of these commands, see its entry within the Lexicon. ***** See Also ***** Lexicon COHERENT Lexicon Page 4