DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Writing and editing

Summary

To create a file with cat cat > filename
text
<Ctrl>D
To display a file cat filename
To pause/resume the screen scrolling <Ctrl>S/<Ctrl>Q
To start writing a file with the vi editor vi filename
To insert text in vi i
To return to command mode from insert mode <Esc>
To quit vi, saving any changes :x
To move around in vi use the arrow keys or h for left,
l or <Space> for right, k for up,
and j for down
To delete a character in vi x
To print a file lp filename
To print 2 copies of a file lp -n2 filename
To print a file in the background lp filename &
To run any job in the background commandline &
To check the status of a print job lpstat [ job_id ]
To cancel a print job cancel job_id

For more information about See
cat cat(C)
vi ``Editing files''
vi(C)
lp, lpstat, cancel lp(C), lpstat(C), and cancel(C)


Previous topic: Canceling a print job

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003