14,957
edits
| Line 44: | Line 44: | ||
== file operation == | == file operation == | ||
=== find a file === | === find a file === | ||
* {{Gd}} locate ({{Linux}}) ex: {{kbd | key= locate ''filename''}} to locate the filename quickly. <ref>[https://blog.longwin.com.tw/2008/01/linux_quick_find_file_locate_2008/ Linux 快速尋找檔案 - locate - Tsung's Blog]</ref> | |||
* find ({{Linux}}) ex: {{kbd | key= find / -iname ''filename''}} Find the '''case-insensitive''' file name Under the path / (root folder) <ref> [http://unix.stackexchange.com/questions/32155/find-command-how-to-ignore-case Find command: how to ignore case? - Unix and Linux]; Find the '''case-sensitive''' file name Under the path / (root folder) ex: {{kbd | key= find / -name ''filename''}} ref:[http://www.codecoffee.com/tipsforlinux/articles/21.html Tips For Linux - How to find files in Linux using 'find']</ref> | * find ({{Linux}}) ex: {{kbd | key= find / -iname ''filename''}} Find the '''case-insensitive''' file name Under the path / (root folder) <ref> [http://unix.stackexchange.com/questions/32155/find-command-how-to-ignore-case Find command: how to ignore case? - Unix and Linux]; Find the '''case-sensitive''' file name Under the path / (root folder) ex: {{kbd | key= find / -name ''filename''}} ref:[http://www.codecoffee.com/tipsforlinux/articles/21.html Tips For Linux - How to find files in Linux using 'find']</ref> | ||