P. 1
Using HP-UX

Using HP-UX


|Views: 741|Likes:
Publicado porCem Tuğrul

More info:

Published by: Cem Tuğrul on Jul 31, 2008
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





Although the syntax of find can be complex, it may help you use HP-UX
more productively. It is a powerful and flexible command. However, it
may run slowly, especially if it is searching many directories.

Suppose you want to display all files in the current directory and its
subdirectories that begin with d. Enter:


$ find . -name 'd*'

The dot (.) causes find to search the current directory and its
subdirectories. The -name option followed by a file name or a file name
pattern (in this case d*) tells find to search for all file names that match
that pattern. In this example, find will look for all file names beginning
with d.

Note that d* is enclosed by single quotes 'd*'. If you use a file name
pattern in the find command, you must quote it so that the shell will
interpret it correctly.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->