grep只能找內容
-r = 循環所有子目錄
-a 是讓 grep 把二進位檔(binary files)當成純文字檔來讀取
~/ 是要搜尋的目錄路徑 ~ 代表使用者家目錄 如果目錄有空格要用\ 區隔
grep -a -r “uuuuutest” ~/
grep -r “vmail” /etc
grep -ri “vmail 1” /etc
grep -r “Invalid Supabase token teamID. authorization header is missing” /kok/todo-api/main4
尋找檔案名為flaghasher的檔案
find / -iname "*flaghasher*"
main.go SUPABASE_JWT_SECRETS
find /kok/todo-api/main4/packages/orchestrator -iname “pool.go“
/kok/todo-api/main4/packages/orchestrator/internal/sandbox/nbd/pool.go
curl -X GET http://localhost:3009/sandboxes -H “Authorization: Bearer e2b_339d58f0d7faeb20e78d70ebbee94317d2ccc104”
ValidateAPIKey
grep -r “template” /kok/todo-api/main4/packages | grep “not found”