lecture14_inf201_fall2010

lecture14_inf201_fall2010 - IINF201 (Fall 2010) Intro. to...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
IINF201 (Fall 2010) Intro. to Info. Technologies Department of Informatics University at Albany – SUNY Lecture From: Sairam Chinnam, INF 523 Fall 2006 Original Source: Afzal, Amir, (2002), UNIX Unbounded: A Beginning Approach, 4th Edition, Prentice Hall.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
The Unix File system Cont… Print file contents – lp command and options (-d, -m, -n, -s) – % lp filename Cancel a printing request – cancel command – % cancel [print job id or printer name] Get printing status – lpstat command – % lpstat
Background image of page 2
The Unix File system Cont… • File reading view, pg, cat, more command – % view filename – % pg filename – % cat filename • % cat filename | more • ctrl -s and ctrl-q • % more filename
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
The Unix File system Cont… Create a file – % cat > filename (use ctrl-d at the end) – Copy a file -- % cat filename > filename.copy – Appending a file -- % cat file1 file2 >> file3
Background image of page 4
The Unix File system Cont… • Moving files/renaming files
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 02/09/2011.

Page1 / 8

lecture14_inf201_fall2010 - IINF201 (Fall 2010) Intro. to...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online