http://www.technicalpage.net/search/label/SQL

>> rm ( Delete or Remove file )


Delete or Remove file

rm  fileName   -- removes the given fileName

rm  fileName1  fileName2  -- removes the two files. You can remove any number of files at the same time.

rm  *.fileExtension    -- removes all the files in the current directory with the given extension.

rm  *.txt  -- removes all the files in the current directory with extension ".txt"

rm  *.*   --  removes all the files in the current directory, not directory or directories.



GoTo_Main UNIX Page


NEXT



.

No comments:

Post a Comment