rm指令 - Linux

By Christine
at 2009-12-31T11:53
at 2009-12-31T11:53
Table of Contents
請問如果我想移除 .cpp files
但想保留特定某幾個 .cpp 檔 如 main.cpp
指令應該怎麼下??
rm -f *.cpp ???????
感謝
另一個問題是
如果我想移除所有的檔案
但不包括 .cpp .h files
請問 rm 可以做到嘛???
感謝
--
但想保留特定某幾個 .cpp 檔 如 main.cpp
指令應該怎麼下??
rm -f *.cpp ???????
感謝
另一個問題是
如果我想移除所有的檔案
但不包括 .cpp .h files
請問 rm 可以做到嘛???
感謝
--
Tags:
Linux
All Comments

By Quanna
at 2010-01-01T02:19
at 2010-01-01T02:19

By Hedda
at 2010-01-04T13:58
at 2010-01-04T13:58

By Lily
at 2010-01-06T00:25
at 2010-01-06T00:25

By Kyle
at 2010-01-07T02:20
at 2010-01-07T02:20

By Susan
at 2010-01-07T04:43
at 2010-01-07T04:43

By Xanthe
at 2010-01-09T16:48
at 2010-01-09T16:48

By Isla
at 2010-01-10T13:28
at 2010-01-10T13:28

By Hedwig
at 2010-01-13T14:15
at 2010-01-13T14:15
Related Posts
emesen

By Oscar
at 2009-12-31T11:10
at 2009-12-31T11:10
安裝第二張網卡

By Hedy
at 2009-12-31T01:03
at 2009-12-31T01:03
丟臉丟到對岸的linux 台灣作者

By Thomas
at 2009-12-30T23:48
at 2009-12-30T23:48
Ubuntu改密碼.... 怎麼改不成功?

By Anthony
at 2009-12-30T21:23
at 2009-12-30T21:23
Ubuntu改密碼.... 怎麼改不成功?

By Candice
at 2009-12-30T20:31
at 2009-12-30T20:31