lecture16_inf201_fall2010

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

Info iconThis preview shows pages 1–4. 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
Unix Process and Utilities Split a text file -- split command – l (splits a file by number of lines) – b (splits a file by number of bytes) % split –l 50 myfile % split –b 100 myfile
Background image of page 2
The Unix File system Cont… Finding files – find command Syntax: find <pathname> <search options> <action options> Search options: -name, -group, -type, -user, -size -name : Identifies the file name -group: Identifies file belonging to a particular group <wwwsowa> -type : Identifies files of a particular type <d,c,b,f> -user : Identifies files belonging to particular user <cv8101> -size : Identifies file that are “n” blocks long <1024> Action options: -print, -exec, -ok -print : Display the name of the file found -exec : True if the executed command returns a zero value -ok : Ask for confirmation before applying the command
Background image of page 3

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

View Full DocumentRight Arrow Icon
Image of page 4
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 / 11

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

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

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