CSII Final
Terms
undefined, object
copy deck
- End of input (logout)
- Ctrl + D
- Interrupt; stop, cancel current program
- Ctrl-C
- Stop screen scrolling
- Resume screen scrolling
- Backspace
- Ctrl-H
- Linefeed
- Ctrl-J
- Pagefeed
- Ctrl-L
- Redisplay the current command line
- Ctrl-R
- list directory contents; filenames only
- ls
- list directory "long"; give details
- ls -l
- list directory "all"; list hidden files that start with .
- ls -a
- list files that match the pattern
- ls -l *.java
- show who is logged on to the workstation (not across the network or other workstations)
- who
- type out the contents of filename
- cat filename
- construct a mail message to the user or email address
- mailx username
- "manual" reference for command; this is the Unix help command
- man command
- show processes -e=all -l=long details
- ps [-el]
- start the visual editor on the file designated (supply the extension, e.g. .java)
- vi filename
- compile a java program (you must give the extension .java)
- javac file.java
- execute a java class file (do NOT supply the extension .class)
- java classfile
- print file in enscripted format
- enscript -2r file
- remove job from line printer
- cancel jobcode
- start capturing console/terminal I/O into a file called typescript or the file designated
- script
- begin insert in front of current character
-
i
- begin insertion at beginning of line
- I
-
begin insert (append) after current character
- a
- begin inserting (appending) at end of line
- A
- open line after current line and begin insert into blank line
- o
- open line before current line and begin insert into blank line
- O
- begin replacement mode
- R
- replace the current character (no ESC is used here)
- r
- substitute (delete the current character and begin insert)
- s
- change current word (delete it and begin insert)
- cw
- change to end of line (delete to end of line and begin insert)
- C
- change current line (delete line and begin insert)
- cc
- left one character
- h
- down on line
- j
- up one line
- k
- right one character
- l
- backward one word (to left)
- b
- find character c in current line
- fc
- forward to end of word
- e
- forward one word (to right)
- w
- backward one screen (up)
- ^b
- forward one screen (down)
- ^f
- up one-half screen
- ^u
- down one-half screen
- ^d
- to end of line
-
$
- go to bottom of file
- G
- go to line n
- nG
- search for string in forward direction
- /String
- search for string in backward direction
- ?string
- delete current character
- x
- delete current line (cursor placement on line irrelevant)
- dd
- delete word
- dw
- delete to end of line
- D
- yank the current line (copy to buffer)
- yy