P. 1
3181427 Hpux User Guide

3181427 Hpux User Guide

|Views: 42|Likes:
Publicado porbabu_mdp1

More info:

Published by: babu_mdp1 on Dec 16, 2009
Copyright:Attribution Non-commercial

Availability:

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

10/22/2011

pdf

text

original

If you have files that are no longer needed, you should remove (delete)
them. Deleting unnecessary files leaves more room for other files on your
system. For example, suppose you have finished using myfile2, and it is
no longer needed. To remove myfile2, type:

rm(1)

$ rm myfile2

To see that myfile2 was removed, use ls:

$ lsThe directory listing shows the remaining file.
myfile

NOTE

To cause the rm command to prompt you for permission before deleting
any file, use the -i option:

$ rm -i myfile
myfile: ? (y/n)

See “Removing Directories” for information on how to remove directories
and contents.

Chapter 2

43

Working with Files and Directories

Comparing the Contents of Two Files

You're Reading a Free Preview

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