Official pages on
www.d|i|g|i|t|a|l .com
HP-UX: Home page Documentation Man pages Forums Tru64: Home page Documentation User's Guide Forums Open Source and Linux: Home page Documentation Forums |
Usenet, forums, lists:
comp.os.unix
comp.os.unix.misc
comp.os.linux
Industry Reviews, Opinions, Controversies:
Unix-Haters Handbook
OS news
My OS sucks or rules?
Tutorials, Programming:
UNIX Overview
File managers:
UnixTree
Editors, viewers:
SEDT;
(Anker);
vi: The vi Lovers Home Page;
Man pages;
FAQ: Basic
Advanced
Substituting text Substitute in entire file (%) globally (ie, in entire line) with confirmation (c): :%s/thwas/this/gc [Return] The following prompt appears at the bottom of the screen: You, too, use thwas new text file ^^^^^ Hit y[Return] to do it, or just [Return] to skip substitution. :1,$s/mispelling/misspelling/ [Return] or :5,8s/mispelling/misspelling/ [Return] In the first example, the address 1,$ indicates that the substitution should begin on line one (1) and end at the last line of the file ($). In the second example, 5,8 indicates lines 5 to 8. You do not need to use the g operator because the change is only necessary ONCE on each line. Deleting a Block of Text The delete command in ex is d, just as in vi. To delete from the current line to the end of the file: :.,$d [Return]
Archiving, backup:
Info-ZIP;
Lots of UNIX and other tools;
Shell hell:
Csh Programming Considered Harmful
X, Motif, DECwindows:
xterm
FAQ
Customization
Keyboard mapping /usr/bin/X11/xterm -sb -ls -display xtree:0.0 -sl 2000 -xrm 'XTerm*VT100.translations: #override \n ShiftUp: scroll-back(1,lines)'
OpenVMS vs. UNIX:
"OpenVMS vs. UNIX" (antagonists or sisters?)
VMS to UNIX Translation