Linux/Unix How-to Find the Application Icon Image with locate and grep Commands

May 27, 2012 | By Regaz | Filed in: Uncategorized.

Refining locate Result with a grep Pipe

The Linux/Unix Tip Show How-to easy Searching for the Application Icon File on Shell Command Line Terminal.

To Achieve the Result I’ll Make simply use of a Shell Pipeline with the ‘locate’ and the ‘grep’ Terminal Shell Commands.

Linux How-to Find/Search for Icon Image - Featured
  1. How-to Easy Search for Files/Directories/Paths on Command Line:

    Linux How Locate Command
  2. Using locate & grep to Searching for Images

    locate KEYWORD | grep EXTENSION

    Example:

    locate firefox | grep .png

    The used Image Icons Extension to Include are: png/jpg/gif/xpm.


Tags: , , , , , , , , , , , , , ,