find instruction tutorial

find instruction structure

  find_path_parameter_fileOrDirectory

  • find . name allocation.cpp -> finding the file in current position
  • find . -iname allocation.cpp -> the same as above but the word no matter uppercase or lowercase
  • find /home -name allocation.cpp -> finding the file in /home directory
  • find . -type d Example3/ ->finding the Example directory in local and its d parameter means directory which can used type extra argument to define it.

Reference:

Unix/Linux的find指令使用教學、技巧與範例

發表留言

透過 WordPress.com 建置的網站.

向上 ↑

Yosing'sDailyPractice

是練習,也是實踐

portran

Explore the life truth and beauty

使用 WordPress.com 設計專業網站
立即開始使用