1、**中文-unicode-utf8等相互轉換
grep搜尋中文字串
shell grep正則匹配漢字
unicode和utf編碼轉換
輸入:圖
輸出:unicode編碼:000056fe
utf8編碼:e59bbe
utf16編碼:feff56fe
utf32編碼:0000feff000056fe
2、windows7檔案內容搜尋工具
fileseek pro 不支援中文搜尋
everything不支援檔案內容搜尋
3、android-shell、git-bash-shell、mingw64-shell、linux-shell搜尋方法
android :adb shell
$ grep -nrs "禁止"
linux中查詢檔案或者檔案中的內容
經常會遇到在linux中查詢檔案的位置或者已知某個結構體或者類的名字想知道裡面的具體內容,下面將對其進行總結 查詢檔案 如果知道檔案的具體名稱的話,比如hello.c,使用locate hello.c就可以找到檔案的具體位置 如果不知道檔案的名稱,只知道hell這幾個字元,可以使用find進行模糊查...
查詢檔案或者路徑
1 find 查詢檔案型別,檔案字尾名為.log 7日以後的檔案 find type f name log mtime 7 xargs ls l ls l find type f name log mtime 7 find type f name log mtime 7 exec ls l 查詢檔案...
Linux 搜尋檔案,將路徑寫入檔案中
來自實驗樓的一道題 大意是搜尋 etc目錄下,所有檔案內容包含shiyanlou欄位的檔案。將檔名按行存入 home shiyanlou output,要求沒有重複項 最開始看錯了,看成搜尋檔名稱包含指定欄位的檔名,於是 sudo find etc name shiyanlou home shiya...