Which tool or command utilizes regular expressions to search for specific text patterns within a file? 哪一個工具或指令可以利用正規表示式(Regular Expressions)來搜尋檔案中特定的文字模式?
Try the interactive quiz above, or study the options and notes below.
Answer choices
Learning notes
grep stands for Global Regular Expression Print, used for searching text inside files. find is used to search for the files themselves. grep 代表全域正規表示式列印,用於搜尋檔案內部的文字; 而 find 則是用來搜尋檔案本身的位置