command-name -option(s) filename(s) or arguments
Example: wc -l sample
The first word of the command line is usually the command name. This is followed by the options, if any, then the filenames, directory name/names, or other arguments, if any, and then a RETURN. Options are usually preceded by a dash and you may use more than one option per command.
The examples on this reference card use bold case for command names and options and italics for arguments and filenames.
whatis command - display a one-line summary about command
man command - display on-line manual pages about command
Information Desk - Mudd 103 (account information) x4682 Consulting Center - Mudd 103 (software questions) 527-4983 Operations - Mudd Lobby (hardware problems) 527-4989 Computing Room - Mudd 101 527-4982 Computing Reference Area - Mudd 101S 527-4076 RAVL - 218 Anderson x5153 RUF - Mudd 107 (md 107) x2298 Ryon - 102 (ryonps | ryon1 | ryon2)* x2293 ME241 - (me241)* x3615 Abercrombie - A121 (aba121)* x2613 Abercrombie Lab - B223 (aba223)* x3379 Physics Lab x2517* Owlnet workstation locations, laser printer names, line printer names
options: -Pprinter - specify a printer other than the default
pwd -display the name of present working directory
---------------------------------------- ~ home directory (tilde) ~username another user's home directory . current or working directory .. parent of working directory ----------------------------------------
options: -i interactive mode. Must confirm file overwrites.
options: -i interactive mode. Prompt for confirmation.
who can be any combination of:
op adds or takes away permission, and can be:
permission can be any combination of
Example: chmod a+x filename - makes filename executable by everyone.
| history | Display list of most recent commands. |
| !! | Repeat the entire last command line at any point in the current command line. |
| !$ | Repeat the last word of previous command line at any point in current command line. |
| !: n | Repeat the nth argument from previous line at any point in current command line |
| !^ | Repeat first argument from previous command line at any point in the current command line |
| ! n | Repeat command line n |
| !!:p | Display previous command |
| !string | Command beginning with string |
| !* | Repeat all arguments to previous command. |
Alias abbreviates a command string with an alias string. For multi-command strings, enclose commands in quotes.
To use the new aliased command shut on a file, and turn off read, write, and executable permissions for all users except yourself, type shut filename.
options:
Options:
Type ? for commands
| env | Lists your environment settings |
| who | Lists users on the local system |
| finger | username@host.domain looks up information on an other user |
| whois | username display real name of user |
| clear | Clears screen |
| leave | reminds you when you have to leave |
| ntalk | username@host.domain talk to another user |
| lprloc | shows names and locations of printers |
| stty sane | resets terminal characteristics to a usable set |
| stty | display terminal characteristics |
| date | displays current time and date |
| cal | year for yearly calendar |
| cal | month-year for monthly calendar |
| tn3270 ricevm1 | full-screen remote login to mainframe |
| tn3270 library | full-screen remote login to Fondren Library Card Catalog. At the VM/SP screen, press the RETURN key, and then enter dial libris after the screen clears. Hit RETURN again. To exit the LIBRIS system, enter CONTROL-] (Hold down the CONTROL key, and type the close bracket character), and then enter close at the TN3270 prompt. |
| rlogin | host.domainlog into remote host computer |
| telnet | host.domainuser interface to a remote system |
| whereis | commandlocate a command; display its pathname |
| spell | filenamereport spelling errors |
| ispell | filenameinteractive spell-checker |
| echo $path | inspect your search path |
| pacinfo | displays your current printing charges (IS systems only) |
| bc | basic calculator (Control-D to exit) |
| du | display the number of disk blocks used per directory or file |
| du -s | display your total disk usage |
| quota -v | display your disk quota and usage |