Linux commands: Difference between revisions

Jump to navigation Jump to search
333 bytes added ,  20 April 2016
Line 49: Line 49:


* dir ({{Win}}) ex: {{kbd | key= dir /s ''filename''}} <ref>[http://www.computerhope.com/issues/ch000309.htm How to find a file in MS-DOS.]</ref><ref>/S          顯示指定目錄及所有子目錄中的檔案。  (引用自 dir /? 命令說明)</ref> {{exclaim}} I have no idea to specify the file path to find the file.
* dir ({{Win}}) ex: {{kbd | key= dir /s ''filename''}} <ref>[http://www.computerhope.com/issues/ch000309.htm How to find a file in MS-DOS.]</ref><ref>/S          顯示指定目錄及所有子目錄中的檔案。  (引用自 dir /? 命令說明)</ref> {{exclaim}} I have no idea to specify the file path to find the file.
=== copy & overwrite file ===
* {{kbd | key=cp -f ''to_be_copy.file'' ''to_be_overwrote.file''}} ({{Linux}})<ref>[http://www.ewdna.com/2012/05/linux-cp-force-overwrite.html Linux:檔案複製強制覆寫, cp force overwrite @ 符碼記憶]</ref>
* {{kbd | key=/bin/cp -f ''to_be_copy.file'' ''to_be_overwrote.file''}} ({{Linux}})


=== copy old directory to new directory ===
=== copy old directory to new directory ===

Navigation menu