locate in specific directory code example Example: locate in specific directory locate file_name | grep `pwd`